File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed
Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 1- name : CI
1+ name : Deploy Sphinx documentation to Pages
22
33on :
44 push :
5- branches :
5+ branches : # branch to trigger deployment
66 - main
77 - cy/docs-action
88
99jobs :
10- build :
11-
12- runs-on : ubuntu-latest
13-
10+ pages :
11+ runs-on : ubuntu-20.04
1412 steps :
15- - run : sudo apt-get update && sudo apt-get install libgl1
16- - uses : actions/checkout@v3
17- # Standard drop-in approach that should work for most people.
18- - uses : ammaraskar/sphinx-action@master
13+ - id : deployment
14+ uses : sphinx-notes/pages@v3
1915 with :
20- pre-build-command : " pip install -r requirements.txt napari-cellseg3d opencv-python-headless"
21- docs-folder : " docs/"
22-
23- - name : GitHub Pages action
24- 16+ publish : false
17+ - uses : peaceiris/actions-gh-pages@v3
2518 with :
2619 github_token : ${{ secrets.GITHUB_TOKEN }}
27- publish_dir : ./docs/_build/html
28-
20+ publish_dir : ${{ steps.deployment.outputs.artifact }}
You can’t perform that action at this time.
0 commit comments