File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 cache : ' pip' # Cache pip dependencies
3939
4040 - name : Install dependencies
41- run : pip install mkdocs mkdocs-material # Add any other mkdocs plugins here
41+ run : pip install -r requirements.txt # Install from requirements.txt
4242
4343 # --- !!! ---
4444 # Add steps here to generate automatic content if needed
@@ -52,13 +52,14 @@ jobs:
5252 # --- !!! ---
5353
5454 - name : Build MkDocs site
55+ working-directory : ./site-docs
5556 run : mkdocs build --verbose # Build into the 'site' directory
5657
5758 - name : Upload artifact
5859 uses : actions/upload-pages-artifact@v3 # Use updated action
5960 with :
6061 # Upload entire site directory built by mkdocs
61- path : ' ./site'
62+ path : ' ./site-docs/site '
6263
6364 # Deployment job
6465 deploy :
Original file line number Diff line number Diff line change 3232* /venv / # Ignore venv directories in any subdirectory too (optional)
3333* /.venv / # Ignore .venv directories in any subdirectory too (optional)
3434
35- site /
35+ . / site-docs / site
3636.cache /
3737__pycache__ /
3838* .pyc
Original file line number Diff line number Diff line change 1+ mkdocs == 1.5.3
2+ mkdocs-material == 9.4.8
3+ pymdown-extensions == 10.3.1
4+ pygments == 2.16.1
You can’t perform that action at this time.
0 commit comments