bigger min timeout #322
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 Sphinx documentation to Pages | |
| on: | |
| push: | |
| branches: [main] | |
| # Cancel any in-progress job or run | |
| concurrency: | |
| group: gh-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pages: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| pages: write | |
| id-token: write | |
| steps: | |
| - id: deployment | |
| uses: sphinx-notes/pages@v3 | |
| with: | |
| documentation_path: docs/source | |
| cache: true | |
| env: | |
| # Avoid installing CUDA-enabled PyTorch wheels (they are huge and unnecessary for docs builds). | |
| # By making the PyTorch CPU wheel index the primary index, `pip install .[...]` will resolve | |
| # `torch`/`torchvision` from there, while everything else is still fetched from PyPI. | |
| PIP_INDEX_URL: https://download.pytorch.org/whl/cpu | |
| PIP_EXTRA_INDEX_URL: https://pypi.org/simple |