Skip to content

Commit c4347aa

Browse files
committed
Remove deployment based on CI_NODE_INDEX=0
Instead of relying on unreliable `CI_NODE_INDEX=0` to decide whether or not to deploy to Docker Hub, we make use of the existing shipping logic by simply adding the `branch` condition to the 🚢 stage.
1 parent 8e2ef87 commit c4347aa

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,4 @@ jobs:
3838
install: echo skip
3939
before_script: echo skip
4040
script: make ship
41-
if: commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
42-
43-
deploy:
44-
- provider: script
45-
script: make ship
46-
on:
47-
branch: master
48-
condition: CI_NODE_INDEX=0
41+
if: commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true or branch = master

0 commit comments

Comments
 (0)