Fix the documentation workflow

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2025-01-25 01:34:20 +01:00
parent f5d4985f39
commit bd075147b8
No known key found for this signature in database

View file

@ -31,12 +31,12 @@ jobs:
- name: zola check
uses: actions/nix/develop@main
with:
run: zola check
run: cd docs && zola check
- name: build the docs site
uses: actions/nix/develop@main
with:
run: zola build
run: cd docs && zola build
- name: prepare for deployment
if: ${{ github.ref_name == 'main' }}
@ -52,7 +52,7 @@ jobs:
if: ${{ github.ref_name == 'main' }}
run: |
mc mirror --remove --overwrite \
public/ \
docs/public/ \
target/sites/iocaine.madhouse-project.org/