We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0a0101 commit 4290993Copy full SHA for 4290993
.github/workflows/publish.yaml
@@ -1,6 +1,8 @@
1
name: documentation
2
3
-on: [push, pull_request, workflow_dispatch]
+on:
4
+ push:
5
+ branches: [master] # branch to trigger deployment
6
7
permissions:
8
contents: write
@@ -20,7 +22,7 @@ jobs:
20
22
# sphinx-build doc _build
21
23
- name: Deploy to GitHub Pages
24
uses: peaceiris/actions-gh-pages@v3
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
25
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
26
with:
27
publish_branch: gh-pages
28
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments