Update build-docs.yaml

This commit is contained in:
CaCO3
2023-02-10 22:38:50 +01:00
committed by GitHub
parent c980127412
commit 2c20838e7a

View File

@@ -36,15 +36,14 @@ jobs:
git config user.name 'github-actions[bot]' git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com' git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Store docs in gh-pages branch - name: Generate Parameter Page
run: | run: |
# Update Parameter Documentation
cd param-docs cd param-docs
rm -rf parameter-pages/* rm -rf parameter-pages/*
python generate-param-doc-pages.py python generate-param-doc-pages.py
tree parameter-pages tree parameter-pages
python concat-parameter-pages.py python concat-parameter-pages.py
cd .. cat docs/Parameters.md
# Deploy it - name: Store Cocumentation in the gh-pages branch so it gets pushed to the website
mkdocs gh-deploy run: mkdocs gh-deploy