Skip to content

Commit 1692836

Browse files
committed
Container para sphinx
1 parent bebdf5b commit 1692836

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ permissions:
55
jobs:
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

0 commit comments

Comments
 (0)