Bump actions/checkout from 3.5.2 to 4.1.4 #88
Workflow file for this run
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: sphinx | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release_sphinx: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.9 | |
steps: | |
# check out sources that will be used for autodocs, plus readme | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install rsync | |
run: | | |
apt-get update && apt-get install -y rsync | |
- name: Napari linux | |
run: | | |
apt-get install -y libgl1-mesa-glx | |
- name: Building documentation | |
run: | | |
pip install -e . | |
pip install sphinx sphinx_rtd_theme | |
cd docs | |
make html | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/_build/html # The folder the action should deploy. |