We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55754ac + 724fa66 commit 2f625a1Copy full SHA for 2f625a1
1 file changed
.github/workflows/deploy-docs.yml
@@ -1,9 +1,6 @@
1
name: Build and Deploy docs
2
3
-on:
4
- pull_request:
5
- push:
6
- branches: [main]
+on: ["push", "pull_request"]
7
8
jobs:
9
run:
@@ -35,7 +32,7 @@ jobs:
35
32
popd
36
33
37
34
- name: GitHub Pages action
38
- if: github.ref == 'refs/heads/main'
+ if: ${{ github.event_name == 'release' }}
39
uses: peaceiris/actions-gh-pages@v3.6.1
40
with:
41
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments