aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy.sh
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-06 18:36:18 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-06 18:36:18 +0100
commit0be7977e0ea893ef36bcf891fe2668a9304a4e14 (patch)
tree9a29dcbee8625007e9ea5f1653a666fc26ffa023 /scripts/deploy.sh
parentFix PEP machine (diff)
[CI] Build on GitLab
Diffstat (limited to 'scripts/deploy.sh')
-rw-r--r--scripts/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index d8a5a0176..50ec87f59 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