Merge pull request #35 from negillett/32465 #10
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: Publish docs | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: {} | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install system dependencies | |
| run: sudo apt-get install -y rpm libkrb5-dev | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run Tox | |
| run: tox -e docs | |
| - name: Publish | |
| uses: JamesIves/github-pages-deploy-action@4.1.3 | |
| with: | |
| branch: gh-pages | |
| folder: docs/_build/html |