summaryrefslogtreecommitdiff
path: root/.gitea/workflows/deploy.yaml
blob: 762c498c732dfb5a2f55879315713bb4277668e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Deploying Static Site
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]

jobs:
  Build:
    container: alpine:latest
    steps:
      - run: apk add zola nodejs git
      - name: Check out repository code
        uses: actions/checkout@v4
      - run: zola build
      - uses: christopherhx/gitea-upload-artifact@v4
        with:
          name: public
          path: public
  Deploy:
    container: alpine:latest
    steps:
      - uses: christopherhx/gitea-download-artifact@v4
        with:
          name: public
          path: public
      - run: ls public