diff options
| author | 2019-09-19 22:46:24 +1000 | |
|---|---|---|
| committer | 2019-09-19 22:46:24 +1000 | |
| commit | 9c23b4ae59449bacddbbf898e30850c691916803 (patch) | |
| tree | 9d0a201d11ed4ad1af4fd396e610494018769f04 /scripts/deploy-azure.sh | |
| parent | Merge pull request #270 from python-discord/flake8-annotations (diff) | |
Cleanup Dockerfile and CI Build & Push stage
Diffstat (limited to 'scripts/deploy-azure.sh')
| -rwxr-xr-x | scripts/deploy-azure.sh | 14 |
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 |