File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,12 @@ jobs:
6868 extra_nix_config : |
6969 trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
7070 substituters = https://cache.iog.io https://cache.nixos.org/
71- - name : Build MkDocs site
71+ - name : Generate and Build MkDocs site
7272 run : |
73- # !!! change to mkdocs src directory first !!!
74- nix develop .#markdown --command "cd _build/mkdocs/src && mkdocs build --site-dir ../../../site"
73+ # 1. Explicitly use bash -c to run a sequence of commands.
74+ # 2. Run the python build script to generate the mkdocs source files.
75+ # 3. cd into the generated directory and run mkdocs build.
76+ nix develop .#markdown --command bash -c "python ./scripts/mkdocs/build.py --run-agda && cd _build/mkdocs/src && mkdocs build --site-dir ../../../site"
7577 # --site-dir places output in root for upload step
7678 - name : Upload MkDocs site artifact
7779 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments