Merge pull request #37 from esa/enable-aarch64-build-in-ci #4
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@v3 | |
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 |