We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b961c4 commit b519dfbCopy full SHA for b519dfb
scripts/deploy.sh
@@ -5,7 +5,7 @@
5
# $FIREBASE_DEPLOY_TOKEN, $FIREBASE_PROJECT_ID, $FIREBASE_DEPLOY_TOKEN_STAGING, $FIREBASE_PROJECT_ID_STAGING are present in CircleCI
6
# $deploy_location is an environment variable set when the job is triggered by one of the two repositories getting pushed
7
8
-if [ "${deploy_location:=staging}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
+if [ "${deploy_location:=master}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
9
echo 'Deploying master branches of PokeAPI/api-data and PokeAPI/pokeapi.co to https://pokeapi.co'
10
TOKEN=${FIREBASE_DEPLOY_TOKEN}
11
PROJECT=${FIREBASE_PROJECT_ID}
0 commit comments