Skip to content

Commit 1f626ee

Browse files
committed
deploy on master
1 parent 28f3c34 commit 1f626ee

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ jobs:
3333
before_script: echo skip
3434
script: make ship
3535
if: commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
36+
37+
deploy:
38+
- provider: script
39+
skip_cleanup: true
40+
script: make ship
41+
on:
42+
branch: master

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ docker-push-branch:
4848
.PHONY: ship
4949
ship: docker-build docker-login
5050

51-
ifeq ($(BRANCH),master)
51+
ifeq ($(TRAVIS_BRANCH),master)
5252
ifeq ($(TRAVIS_PULL_REQUEST),false)
5353
ship: docker-push-latest-master
5454
endif

0 commit comments

Comments
 (0)