Created
June 3, 2019 13:32
-
-
Save vanduc1102/5f70095b9c06fa2f4548f0c8a414b369 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ENV=production | |
PROJECT_ID=xxxxxxx | |
REGION=us-central1 | |
echo "==================================${ENV}==========================" | |
echo REGION=${REGION} | |
echo PROJECT_ID=${PROJECT_ID} | |
echo "==================================${ENV}==========================" | |
echo | |
read -p "Are you really want to deploy to PRODUCTION ? [yN]? " -n 1 -r | |
echo | |
if [[ ! $REPLY =~ ^[Yy]$ ]] | |
then | |
exit | |
fi | |
BUCKET_NAME=${FUNC_NAME}-gcf-codebase | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment