diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2022-11-03 18:29:29 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2022-11-03 18:29:29 +0300 |
commit | 720233f5d4466c51ac5cda8adbef267bcd6cd341 (patch) | |
tree | d3497abaca5370aab845265f9c1f97853cd99ce2 /scripts | |
parent | bb23ecb1ec5ee924485ef2b17789438e871163b1 (diff) |
No need to set the -C flag in gsutil
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deploy-review-app | 4 |
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 |