mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-03-24 15:54:43 +01:00
Fix the documentation workflow
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
f5d4985f39
commit
bd075147b8
1 changed files with 3 additions and 3 deletions
|
@ -31,12 +31,12 @@ jobs:
|
||||||
- name: zola check
|
- name: zola check
|
||||||
uses: actions/nix/develop@main
|
uses: actions/nix/develop@main
|
||||||
with:
|
with:
|
||||||
run: zola check
|
run: cd docs && zola check
|
||||||
|
|
||||||
- name: build the docs site
|
- name: build the docs site
|
||||||
uses: actions/nix/develop@main
|
uses: actions/nix/develop@main
|
||||||
with:
|
with:
|
||||||
run: zola build
|
run: cd docs && zola build
|
||||||
|
|
||||||
- name: prepare for deployment
|
- name: prepare for deployment
|
||||||
if: ${{ github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'main' }}
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
if: ${{ github.ref_name == 'main' }}
|
if: ${{ github.ref_name == 'main' }}
|
||||||
run: |
|
run: |
|
||||||
mc mirror --remove --overwrite \
|
mc mirror --remove --overwrite \
|
||||||
public/ \
|
docs/public/ \
|
||||||
target/sites/iocaine.madhouse-project.org/
|
target/sites/iocaine.madhouse-project.org/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue