@cryptotaxi247 / netdata-1 / commits / a4975360f

[ci skip] Adjust conditional deployment in GCS -- Properly skip according to repo slug

Pavlos Emm. Katsoulakis committed Apr 20, 2019 at 10:10 UTC a4975360f68718b09bb25630f9b6c489b86e2283
1 file changed +3 -2
.travis.yml
+3 -2
@@ -249,7 +249,8 @@ jobs:
249 # Only deploy on netdata/netdata, master branch, when artifacts directory is created
250 repo: ${TRAVIS_REPO_SLUG}
251 branch: master
252 - condition: -d "artifacts"
252 + condition: -d "artifacts" AND ${TRAVIS_REPO_SLUG} != "netdata/netdata"
253 +
254 # Production storage
255 - provider: gcs
256 edge:
@@ -263,5 +264,5 @@ jobs:
264 # Only deploy on netdata/netdata, master branch, when artifacts directory is created
265 repo: netdata/netdata
266 branch: master
266 - condition: -d "artifacts"
267 + condition: -d "artifacts" AND ${TRAVIS_REPO_SLUG} = "netdata/netdata"
268 after_deploy: rm -f .travis/gcs-credentials.json