EOD #1575
This file contains hidden or 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
| # Create an MkDocs website | |
| name: Create website | |
| on: | |
| push: | |
| paths: | |
| - .github/workflows/create_website.yaml | |
| - 'docs/**' | |
| - 'mkdocs.yaml' | |
| pull_request: | |
| paths: | |
| - .github/workflows/create_website.yaml | |
| - 'docs/**' | |
| - 'mkdocs.yaml' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.x | |
| - run: sudo apt install graphviz | |
| - run: pip install mkdocs-material | |
| - run: pip install mkdocs-graphviz | |
| - name: remove unused folders and files | |
| run: | | |
| rm -rf docs/unused | |
| - run: mkdocs gh-deploy --force |