diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..26337b0 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build Documentation + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + container: catthehacker/ubuntu:act-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Install uv + uses: https://github.com/astral-sh/setup-uv@v7 + with: + enable-cache: true + + - name: Build documentation + run: uv run zensical build + + - name: Upload site artifact + uses: actions/upload-artifact@v5 + with: + name: docs + path: site/ + retention-days: 30