mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
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.
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
[config]
|
[config]
|
||||||
command = bash deploy.sh
|
command = bash bin/azure-deploy.sh
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ echo "\"$SCM_COMMIT_ID\"" > $DEPLOYMENT_SOURCE/scm-commit-id.json
|
|||||||
|
|
||||||
# 1. KuduSync
|
# 1. KuduSync
|
||||||
if [[ "$IN_PLACE_DEPLOYMENT" -ne "1" ]]; then
|
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"
|
exitWithMessageOnError "Kudu Sync failed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user