Skip to content

Commit 499341b

Browse files
authored
Merge pull request #20 from rollup-umd/dev
fix(travis): fix travis configuration triggering wrong job on pr
2 parents a99d899 + d77e435 commit 499341b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
# Job: Release
5959
- stage: release
60-
if: branch = master
60+
if: branch = master AND type = push AND fork = false
6161
node_js:
6262
- 'lts/*'
6363
skip_cleanup: true
@@ -66,7 +66,7 @@ jobs:
6666

6767
# Job: Page
6868
- stage: deploy
69-
if: branch = master
69+
if: branch = master AND type = push AND fork = false
7070
node_js:
7171
- 'lts/*'
7272
script:

0 commit comments

Comments
 (0)