Skip to content

Commit c7919d0

Browse files
committed
ci: Don't run deploy steps on forks
1 parent 6e4f871 commit c7919d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
include:
3030
- stage: deploy
3131
name: Build & publish new release (if needed)
32-
if: branch = master
32+
if: branch = master AND repo = "codeRIT/hackathon-manager"
3333
language: node_js
3434
node_js: lts/*
3535
cache:
@@ -39,7 +39,7 @@ jobs:
3939
script: yarn semantic-release
4040
- stage: deploy
4141
name: Push docs website update
42-
if: branch = master
42+
if: branch = master AND repo = "codeRIT/hackathon-manager"
4343
language: node_js
4444
node_js: lts/*
4545
cache:

0 commit comments

Comments
 (0)