aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-23 17:01:21 +1000
committerGravatar scragly <[email protected]>2019-09-24 14:49:22 +1000
commitfe9efe6fc845380705b4c99ae861bf0c6bb1cd3a (patch)
treeb7370dd684a817c4190bcffb3c2e5c482f52e566 /scripts/deploy-azure.sh
parentMerge pull request #449 from python-discord/duration-converter-fix (diff)
Reformat indents, use Docker@2 task for azure instead of sh script.
Diffstat (limited to 'scripts/deploy-azure.sh')
-rw-r--r--scripts/deploy-azure.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
deleted file mode 100644
index ed4b719e2..000000000
--- a/scripts/deploy-azure.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-cd ..
-
-# Build and deploy on master branch, only if not a pull request
-if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then
- echo "Building image"
- docker build -t pythondiscord/bot:latest .
-
- echo "Pushing image"
- docker push pythondiscord/bot:latest
-fi