Update .travis.yml

Add missing check for same repo origin when deploying
This commit is contained in:
etienne-napoleone 2018-07-26 18:45:54 +07:00
parent 68b027e1b3
commit fa9fad23fe
No known key found for this signature in database
GPG key ID: 13183AEB698F46A9

View file

@ -88,11 +88,11 @@ stages:
- name: Lint
- name: Build and test
- name: Github release
if: type != pull_request AND branch = master AND tag = true
if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/tomochain
- name: Build and push tomochain/tomochain image
if: type != pull_request AND branch = master
if: type != pull_request AND branch = master AND repo = tomochain/tomochain
- name: Trigger rebuild of tomochain/infra-tomochain image
if: type != pull_request AND branch = master
if: type != pull_request AND branch = master AND repo = tomochain/tomochain
notifications:
slack: