Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
Change header to expire sooner.
  • Loading branch information
scottlet authored Jun 15, 2020
1 parent f01bad5 commit 2712d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ gcloud auth activate-service-account --key-file="$HOME"/service_key.json --proje

gsutil cp -z "css,js,html,svg" -r -a "$INPUT_BUILD_FOLDER" gs://"$INPUT_BUCKET_NAME"
gsutil web set -m "$INPUT_HOME_PAGE_PATH" -e "$INPUT_ERROR_PAGE_PATH" gs://"$INPUT_BUCKET_NAME"
gsutil setmeta -h "Cache-Control:public, max-age=20" gs://"$INPUT_BUCKET_NAME"/*.html

0 comments on commit 2712d76

Please sign in to comment.