aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/deploy-azure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/deploy-azure.sh')
-rw-r--r--scripts/deploy-azure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh
index 378cceaf6..4df5cb0fc 100644
--- a/scripts/deploy-azure.sh
+++ b/scripts/deploy-azure.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Build and deploy on master branch
-if [ $BUILD_SOURCEBRANCHNAME == 'master' ]; then
+if [[ $BUILD_SOURCEBRANCHNAME == 'master' ]]; then
changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l)
if [ $changed_lines != '0' ]; then