Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-11-03 18:29:29 +0300
committerSarah German <sgerman@gitlab.com>2022-11-03 18:29:29 +0300
commit720233f5d4466c51ac5cda8adbef267bcd6cd341 (patch)
treed3497abaca5370aab845265f9c1f97853cd99ce2 /scripts
parentbb23ecb1ec5ee924485ef2b17789438e871163b1 (diff)
No need to set the -C flag in gsutil
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy-review-app4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deploy-review-app b/scripts/deploy-review-app
index 4ac96fe5..fa2bc0dc 100755
--- a/scripts/deploy-review-app
+++ b/scripts/deploy-review-app
@@ -63,6 +63,6 @@ if [ "$DEPLOY_DELETE_APP" = 'true' ]; then
gsutil -m rm -r "$dest"
else
echo "Deploying review app to ${dest}..."
- echo "gsutil -h \"Cache-Control:public, max-age=$cache_control_max_age\" -m rsync -j css,html,js,txt -C -r -d \"$src\" \"$dest\""
- with_backoff gsutil -h "Cache-Control:public, max-age=$cache_control_max_age" -m rsync -j css,html,js,txt -C -r -d "$src" "$dest"
+ echo "gsutil -h \"Cache-Control:public, max-age=$cache_control_max_age\" -m rsync -j css,html,js,txt -r -d \"$src\" \"$dest\""
+ with_backoff gsutil -h "Cache-Control:public, max-age=$cache_control_max_age" -m rsync -j css,html,js,txt -r -d "$src" "$dest"
fi