diff options
-rw-r--r-- | scripts/deploy-azure.sh | 2 |
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) |