From 52cca32bf38a2e6ec9f6aab04742f57e6a8a964e Mon Sep 17 00:00:00 2001 From: Ben West Date: Thu, 18 Feb 2021 10:08:34 -0800 Subject: [PATCH] task: tidy project root This change moves the azure deployment script from the root of the project into the bin subdirectory with a name that makes its purpose more clear. .deployment file has been updated to execute the new path. --- .deployment | 2 +- deploy.sh => bin/azure-deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename deploy.sh => bin/azure-deploy.sh (98%) diff --git a/.deployment b/.deployment index 1e42f16c..7d94259b 100644 --- a/.deployment +++ b/.deployment @@ -1,2 +1,2 @@ [config] -command = bash deploy.sh \ No newline at end of file +command = bash bin/azure-deploy.sh diff --git a/deploy.sh b/bin/azure-deploy.sh similarity index 98% rename from deploy.sh rename to bin/azure-deploy.sh index 710cbb14..5ffbee02 100755 --- a/deploy.sh +++ b/bin/azure-deploy.sh @@ -103,7 +103,7 @@ echo "\"$SCM_COMMIT_ID\"" > $DEPLOYMENT_SOURCE/scm-commit-id.json # 1. KuduSync if [[ "$IN_PLACE_DEPLOYMENT" -ne "1" ]]; then - "$KUDU_SYNC_CMD" -v 50 -f "$DEPLOYMENT_SOURCE" -t "$DEPLOYMENT_TARGET" -n "$NEXT_MANIFEST_PATH" -p "$PREVIOUS_MANIFEST_PATH" -i ".git;.hg;.deployment;deploy.sh" + "$KUDU_SYNC_CMD" -v 50 -f "$DEPLOYMENT_SOURCE" -t "$DEPLOYMENT_TARGET" -n "$NEXT_MANIFEST_PATH" -p "$PREVIOUS_MANIFEST_PATH" -i ".git;.hg;.deployment;bin/azure-deploy.sh" exitWithMessageOnError "Kudu Sync failed" fi