diff options
| author | 2018-06-13 21:12:52 +0100 | |
|---|---|---|
| committer | 2018-06-13 21:12:52 +0100 | |
| commit | cfb02eaeaea37da231d490f701e3aa017fc6494b (patch) | |
| tree | 491ab31f565eb687ec07ad7bb4b3e4f702a06b54 /scripts | |
| parent | Revert "Cast to list in events.py so there is no 'filter object does not have... (diff) | |
| parent | Merge branch 'ci-container' into 'master' (diff) | |
Merge branch 'master' of gitlab.com:python-discord/projects/bot
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/deploy.sh | 2 |
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 |