aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-09-18 14:00:57 -0700
committerGravatar sco1 <[email protected]>2019-09-18 14:10:06 -0700
commit2ac0c6df978f20a488b3eb026753c8a972cb2554 (patch)
tree43fc70b14b517139dea5324e762ba92a9e211e28 /scripts/deploy-azure.sh
parentDocstring linting chunk 7 (diff)
parentMerge pull request #436 from python-discord/enhance-offtopicnames-search (diff)
Merge branch 'master' into flake8-plugins
Diffstat (limited to 'scripts/deploy-azure.sh')
-rw-r--r--scripts/deploy-azure.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index af69ab46b..ed4b719e2 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -2,11 +2,11 @@
cd ..
-# Build and deploy on django branch, only if not a pull request
-if [[ ($BUILD_SOURCEBRANCHNAME == 'django') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then
+# 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:django .
+ docker build -t pythondiscord/bot:latest .
echo "Pushing image"
- docker push pythondiscord/bot:django
+ docker push pythondiscord/bot:latest
fi