aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2019-10-02 09:39:10 +0530
committerGravatar RohanJnr <[email protected]>2019-10-02 09:39:10 +0530
commitcd5842811f92bd5c82a164d33ad71a9c7c172e57 (patch)
tree4a15827a3d94cbc78fa8a9a5b47cdd57283f304e /scripts
parentWorked on the requested changes and also made a few other changes: (diff)
parentMerge branch 'master' into trivia_quiz (diff)
Merge branch 'trivia_quiz' of https://github.com/RohanJnr/seasonalbot into trivia_quiz
Diffstat (limited to 'scripts')
-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