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 crossbinary
|
||||||
- make image
|
- make image
|
||||||
|
|
||||||
deploy:
|
after_success:
|
||||||
skip_cleanup: true
|
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) &&
|
||||||
provider: script
|
[ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
script: script/deploy.sh
|
script/deploy.sh
|
||||||
on:
|
else
|
||||||
branch: master
|
echo "Skipping deploy"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue