Skip to content

Commit 79662e8

Browse files
committed
Deploy docs only when merged into master
1 parent f4e5e3d commit 79662e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
5353
- name: Deploy to GitHub Pages
5454
uses: peaceiris/actions-gh-pages@v4
55+
if: github.ref == 'refs/heads/master'
5556
with:
5657
github_token: ${{ secrets.GITHUB_TOKEN }}
5758
publish_dir: ${{ env.DOCS_BUILD_HTML_DIR }}

0 commit comments

Comments
 (0)