Skip to content

Commit 758d08a

Browse files
Travis: Run gitdeploy only on pushes to master (#2016)
1 parent fd97652 commit 758d08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ script: |
2121
jobs:
2222
include:
2323
- stage: deploy
24-
if: branch = master
24+
if: type = push AND branch = master
2525
script: npm run gitpublish
2626
skip_cleanup: true
2727
node_js: '10'

0 commit comments

Comments
 (0)