diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deploy-review-app | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/deploy-review-app b/scripts/deploy-review-app index f657e697..276e375a 100755 --- a/scripts/deploy-review-app +++ b/scripts/deploy-review-app @@ -62,6 +62,9 @@ if [ "$DEPLOY_DELETE_APP" = 'true' ]; then echo "gsutil -m rm -r \"$dest\"" gsutil -m rm -r "$dest" else + echo "Making sure review app environment in ${dest} is empty..." + echo "gsutil -m rm -r \"$dest\"" + gsutil -m rm -r "$dest" echo "Deploying review app to ${dest}..." echo "gsutil -h \"Cache-Control:public, max-age=$cache_control_max_age\" -m cp -z css,html,js,txt -c -r \"$src\" \"$dest\"" with_backoff gsutil -h "Cache-Control:public, max-age=$cache_control_max_age" -m cp -z css,html,js,txt -c -r "$src" "$dest" |