Merge branch 'release' #218
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build MkDocs website as artifacts | |
on: | |
push: | |
branches-ignore: | |
- release | |
paths: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- 'CHANGELOG.md' | |
# Any additional files/dirs that take part in updating the website must be added here. | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: ./docs/DocsCopier.main.kts | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install -r docs/requirements.txt | |
- run: mkdocs build --site-dir public | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: docs-static-website | |
path: public |