Update cli.py #13
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
| name: Deploy Documentation | ||
| on: | ||
| push: | ||
| branches: [ main ] | ||
| # Required for pushing to gh-pages | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| deploy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| ... | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 # required for mkdocs gh-deploy | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: "3.10" | ||
| - name: Install MkDocs + Material Theme | ||
| run: pip install mkdocs mkdocs-material | ||
| - name: Deploy documentation | ||
| run: mkdocs gh-deploy --force | ||