aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy-azure.sh')
-rwxr-xr-xscripts/deploy-azure.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
deleted file mode 100755
index ad7bfb26..00000000
--- a/scripts/deploy-azure.sh
+++ /dev/null
@@ -1,14 +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/seasonalbot:latest -f docker/Dockerfile .
-
- echo "Pushing image to Docker Hub"
- docker push pythondiscord/seasonalbot:latest
-else
- echo "Skipping deploy"
-fi