Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
Move index.html to menu.html
  • Loading branch information
scottlet authored Jul 9, 2020
1 parent e6dbca5 commit bf291ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gcloud auth activate-service-account --key-file="$HOME"/service_key.json --proje

cd "$INPUT_BUILD_FOLDER"
gsutil -m cp -z "css,js,html,svg,json" -r . gs://"$INPUT_BUCKET_NAME"
gsutil -m cp -z index.html gs://"$INPUT_BUCKET_NAME/menu.html"
gsutil mv gs://"$INPUT_BUCKET_NAME"/index.html gs://"$INPUT_BUCKET_NAME"/menu.html
#gsutil web set -m "$INPUT_HOME_PAGE_PATH" -e "$INPUT_ERROR_PAGE_PATH" gs://"$INPUT_BUCKET_NAME"
gsutil -m setmeta -h "Cache-Control:public, max-age=31536000" gs://"$INPUT_BUCKET_NAME"/**/*.js
gsutil -m setmeta -h "Cache-Control:public, max-age=31536000" gs://"$INPUT_BUCKET_NAME"/**/*.css
Expand Down

0 comments on commit bf291ee

Please sign in to comment.