aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-03-29 02:22:14 +1000
committerGravatar GitHub <[email protected]>2019-03-29 02:22:14 +1000
commitc3bce58803c5045204e09bc3e81befa2d0b74f3b (patch)
treefa13dfcf052e1c74f6b91621498f681cf8300381 /scripts
parentMerge 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.sh18
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