Skip to content

Workflow file for this run

name: Deploy Sphinx documentation to Pages
on:
push:
branches: [main, ghpages]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx pydata_sphinx_theme
- name: Deploy to GitHub Pages
id: deployment
uses: sphinx-notes/pages@v3
with:
repository_path: '.'
documentation_path: 'docs'
publish: 'true'
sphinx_build_options: ''