Skip to content

Commit cdb688a

Browse files
committed
don't deploy if branch is not master
1 parent e8c4d1b commit cdb688a

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
@@ -76,6 +76,7 @@ jobs:
7676
url: ${{ steps.deployment.outputs.page_url }}
7777
runs-on: ubuntu-latest
7878
needs: docs
79+
if: github.ref == 'refs/heads/master'
7980
steps:
8081
- name: Deploy to GitHub Pages
8182
id: deployment

0 commit comments

Comments
 (0)