diff options
author | 2019-03-29 02:22:14 +1000 | |
---|---|---|
committer | 2019-03-29 02:22:14 +1000 | |
commit | c3bce58803c5045204e09bc3e81befa2d0b74f3b (patch) | |
tree | fa13dfcf052e1c74f6b91621498f681cf8300381 /scripts | |
parent | Merge pull request #10 from python-discord/flake8-updates (diff) |
Add Azure CI. (#16)
This PR is to add CI settings to master and to test the PR CI pipeline.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/deploy.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh deleted file mode 100644 index 9d4ec4f..0000000 --- a/scripts/deploy.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Build and deploy on master branch -if [[ $CI_COMMIT_REF_SLUG == 'master' ]]; then - echo "Connecting to docker hub" - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - echo "Building image" - pipenv run buildbox - - echo "Pushing image" - pipenv run pushbox - - # echo "Deploying container" - # curl -H "token: $AUTODEPLOY_TOKEN" $AUTODEPLOY_WEBHOOK -else - echo "Skipping deploy" -fi |