File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,22 @@ permissions:
55jobs :
66 docs :
77 runs-on : ubuntu-latest
8+ container : sphinxdoc/sphinx
89 steps :
910 - uses : actions/checkout@v3
1011 - uses : actions/setup-python@v3
1112 - name : Install dependencies
1213 run : |
13- pip install sphinx sphinx_rtd_theme
14+ pip install sphinx_rtd_theme
1415 - name : Sphinx build
1516 run : |
16- sphinx-build docs/source docs/build
17+ sphinx-build -b html docs/source docs/build/html
1718 - name : Deploy
1819 uses : peaceiris/actions-gh-pages@v3
1920 # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2021 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/testing' }}
2122 with :
2223 publish_branch : gh-pages
2324 github_token : ${{ secrets.GITHUB_TOKEN }}
24- publish_dir : docs/build
25+ publish_dir : docs/build/html
2526 force_orphan : true
You can’t perform that action at this time.
0 commit comments