fix typo in release workflow #175
Workflow file for this run
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: Build Docs | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| pull_request: | |
| branches: | |
| - dev | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build_docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| id: setup_python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" | |
| - name: Set up Poetry | |
| run: | | |
| pip install poetry | |
| - name: restore cached virtual environment | |
| uses: actions/cache/restore@v4 | |
| with: | |
| key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('poetry.lock') }} | |
| path: .venv | |
| - name: Install docs dependencies | |
| run: | | |
| python -m venv .venv | |
| source .venv/bin/activate | |
| poetry install --with docs | |
| - name: build docs | |
| run: | | |
| source .venv/bin/activate | |
| which sphinx-build | |
| make build-docs | |
| - name: check links | |
| run: | | |
| source .venv/bin/activate | |
| make check-doc-links | |
| - name: deploy docs | |
| if: github.ref == 'refs/heads/dev' | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/_build/html |