soaos.dev/.gitea/workflows/deploy.yaml

26 lines
601 B
YAML

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