Merge pull request #718 from malariagen/GH717_plot_njt_render_mode_svg #138
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: latest_docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
latest_docs: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out source π | |
uses: actions/checkout@v4 | |
- name: Set up Python π | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install poetry | |
run: pipx install poetry==1.8.3 | |
- name: Eyeball native environment π | |
run: python --version ; pip --version ; poetry --version ; pwd ; ls -la | |
- name: Install package dependencies π | |
run: poetry install | |
- name: Build HTML ποΈ | |
run: poetry run sphinx-build -b html docs/source docs/build/html | |
- name: Deploy HTML to GitHub Pages π | |
uses: peaceiris/actions-gh-pages@v3.9.3 | |
with: | |
publish_branch: gh-pages | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/build/html | |
destination_dir: latest |