Merge pull request #209 from BritishGeologicalSurvey/dummy-merge-request #19
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: | |
- main | |
paths: | |
- 'docs/**' | |
- 'etlhelper/**' | |
- '.github/**' | |
jobs: | |
pages: | |
runs-on: ubuntu-22.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 | |
with: | |
python-version: '3.10' |