aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-09-22 15:15:27 -0400
committerGravatar sco1 <[email protected]>2019-09-22 15:15:27 -0400
commit9e30880df12d085b545ed3d429b2dcea3ea7d544 (patch)
treeb3409f6be37e20ad8c4f67bcb0fe609647d6f93f /scripts/deploy-azure.sh
parentMake defcon days command turn on defcon, refactor log messaging (diff)
parentFix date formatting bug in infraction search (diff)
Merge branch 'master' into defcon-fix-django
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