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 6030dad commit 103cfcfCopy full SHA for 103cfcf
.github/workflows/publish-docs.yml
@@ -3,6 +3,8 @@ name: Publish docs
3
on:
4
push:
5
branches: [ master ]
6
+ pull_request:
7
+ types: [opened, synchronize] # This will trigger the workflow only when a PR is opened or updated with new commits
8
9
jobs:
10
build:
@@ -24,6 +26,7 @@ jobs:
24
26
run: mkdocs build --verbose --clean --strict
25
27
28
- name: Deploy
29
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
30
uses: peaceiris/actions-gh-pages@v3
31
with:
32
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments