Skip to content

Commit 23c33d4

Browse files
More CI shenanigans
1 parent 798b54f commit 23c33d4

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/CI.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,22 @@ jobs:
4040
pip install pytest
4141
pip install sphinx sphinx_rtd_theme
4242
sphinx-build docs/source _build
43-
- name: Deploy to GitHub Pages
44-
uses: peaceiris/actions-gh-pages@v4
43+
- name: Upload doc files
44+
id: deployment
45+
uses: actions/upload-pages-artifact@v3
4546
with:
46-
github_token: ${{ secrets.GITHUB_TOKEN }}
47-
publish_dir: _build/
47+
path: _build/
48+
49+
deploy:
50+
environment:
51+
name: github-pages
52+
url: ${{ steps.deployment.outputs.page_url }}
53+
runs-on: ubuntu-latest
54+
needs: docs
55+
steps:
56+
- name: Deploy to GitHub Pages
57+
id: deployment
58+
uses: actions/deploy-pages@v4
4859

4960
linux:
5061
runs-on: ${{ matrix.platform.runner }}

0 commit comments

Comments
 (0)