Merge pull request #181 from release-engineering/deps/pip-compile #168
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: | |
| - main | |
| workflow_dispatch: {} | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10" | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y libkrb5-dev | |
| - name: Install Tox | |
| run: pip install tox 'virtualenv<20.21.1' | |
| - name: Run Tox | |
| run: tox -e docs | |
| - name: Publish | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: gh-pages | |
| folder: docs/_build/html |