aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-06 16:04:29 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-06 16:04:29 +0100
commit57985da1a13ed5637c58b3035b94988daaf3e567 (patch)
tree63f962a2bfaaea8294677d8405d8c5bca9e6b82e /scripts
parent[CI] Add RDB/RMQ hosts (diff)
[CI] Fix deployment
Diffstat (limited to 'scripts')
-rw-r--r--scripts/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 4a4604c6..f4799749 100644
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Build and deploy on master branch
-if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then
+if [[ $CI_COMMIT_REF_SLUG == 'master' ]]; then
echo "Connecting to docker hub"
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin