Skip to content

Commit b76e645

Browse files
committed
✨feature: update deploy-doc ci only trigger on master branch
1 parent bc0ef13 commit b76e645

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
path: ./docs
146146

147147
deploy-doc:
148+
if: github.ref == 'refs/heads/master'
148149
environment:
149150
name: github-pages
150151
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)