diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-04-20 10:10:15 +0300 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-04-20 10:10:15 +0300 |
commit | a4975360f68718b09bb25630f9b6c489b86e2283 (patch) | |
tree | 06dbb4a54b819a4e9a5aabcb4c3f52b2213342a5 /.travis.yml | |
parent | 5af2c2daa03417c4c5a9acab5b9f564e85a3ce13 (diff) |
[ci skip] Adjust conditional deployment in GCS -- Properly skip according to repo slug
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index ef45e003d2..53b281809a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -249,7 +249,8 @@ jobs: # Only deploy on netdata/netdata, master branch, when artifacts directory is created repo: ${TRAVIS_REPO_SLUG} branch: master - condition: -d "artifacts" + condition: -d "artifacts" AND ${TRAVIS_REPO_SLUG} != "netdata/netdata" + # Production storage - provider: gcs edge: @@ -263,5 +264,5 @@ jobs: # Only deploy on netdata/netdata, master branch, when artifacts directory is created repo: netdata/netdata branch: master - condition: -d "artifacts" + condition: -d "artifacts" AND ${TRAVIS_REPO_SLUG} = "netdata/netdata" after_deploy: rm -f .travis/gcs-credentials.json |