aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-11-16 14:02:22 +0000
committerGravatar Gareth Coles <[email protected]>2018-11-16 14:02:22 +0000
commit497eef8bf66dd19c69c0df963c7db62961aff64c (patch)
tree04834bc0a85a99b10cb88a786b3b46ebb14cd092 /scripts/deploy-azure.sh
parentAzure: OK, turns out secret variables must be task args and otherwise aren't ... (diff)
Azure: This should be all, I hope.
Diffstat (limited to 'scripts/deploy-azure.sh')
-rw-r--r--scripts/deploy-azure.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 8cb9fe770..6b3dea508 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+cd ..
+
# Build and deploy on master branch, only if not a pull request
if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then
changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)