Merge pull request #43 from esa/fix-joss-workflow #10
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"] | |
workflow_dispatch: | |
env: | |
GITHUB_PAGES_BUILD: 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: dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y doxygen | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Install polyhedral-gravity from recent source for sphinx.ext.autodoc | |
shell: bash -l {0} | |
run: pip install . -vv --no-build-isolation | |
- id: deployment | |
uses: sphinx-notes/pages@v3 | |
with: | |
checkout: false |