updated artifact v4 to fix pipeline #19
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: docs | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
- master | |
paths: | |
# Only rebuild website when docs have changed | |
- 'README.md' | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- .github/** | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material mkdocs-mermaid2-plugin | |
- run: mkdocs gh-deploy --force |