Skip to content

Commit b519dfb

Browse files
committed
feat: defaults to master
1 parent 4b961c4 commit b519dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# $FIREBASE_DEPLOY_TOKEN, $FIREBASE_PROJECT_ID, $FIREBASE_DEPLOY_TOKEN_STAGING, $FIREBASE_PROJECT_ID_STAGING are present in CircleCI
66
# $deploy_location is an environment variable set when the job is triggered by one of the two repositories getting pushed
77

8-
if [ "${deploy_location:=staging}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
8+
if [ "${deploy_location:=master}" = 'master' ]; then # https://stackoverflow.com/a/2013589/3482533
99
echo 'Deploying master branches of PokeAPI/api-data and PokeAPI/pokeapi.co to https://pokeapi.co'
1010
TOKEN=${FIREBASE_DEPLOY_TOKEN}
1111
PROJECT=${FIREBASE_PROJECT_ID}

0 commit comments

Comments
 (0)