Merge pull request #192 from BritishGeologicalSurvey/more_docs_updates #7
Workflow file for this run
This file contains 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: | |
- for_v1 | |
paths: | |
- 'docs/**' | |
jobs: | |
pages: | |
runs-on: ubuntu-20.04 | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- name: Install RTD Theme | |
run: | | |
pip install sphinx sphinx_rtd_theme | |
- id: deployment | |
uses: sphinx-notes/pages@v3 |