travis after_success instead of deploy
Signed-off-by: emile <emile@vauge.com>
This commit is contained in:
parent
6282bf33a0
commit
54208f6fc3
1 changed files with 7 additions and 6 deletions
13
.travis.yml
13
.travis.yml
|
@ -23,9 +23,10 @@ script:
|
|||
- make crossbinary
|
||||
- make image
|
||||
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
provider: script
|
||||
script: script/deploy.sh
|
||||
on:
|
||||
branch: master
|
||||
after_success:
|
||||
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) &&
|
||||
[ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
script/deploy.sh
|
||||
else
|
||||
echo "Skipping deploy"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue