You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Breaking Changes
* Drop support for node pre v12
* Switch to node 14 in CI workflows
* Update to Node 14 Runtime in cloud functions
## Features/Updates
* react-hook-form v6 to v7
* cypress v6 to v7
* Adding preview channel to verify workflow (with associated delete preview channel workflow which removes preview channel on merge)
* Update `husky` v4 to v6
* Update `yeoman-generator` from v4 to v5
* Update `yeoman-test` from v2 to v6
# Throw a clear error if FIREBASE_TOKEN secret is not set
57
-
if [ -z "$FIREBASE_TOKEN" ];
58
-
then
59
-
errMsg="\"FIREBASE_TOKEN\" github secret is required to load project configuration. Visit https://github.com/${{ github.repository }}/settings/secrets to set."
60
-
echo "::error ::$errMsg"
61
-
exit 1
62
-
fi
63
-
64
48
# Get branch name from github ref (i.e. refs/heads/master -> master)
65
49
gitBranch=${GITHUB_REF##*/}
66
50
67
51
# Find the config associated to the firebase project in .firebaserc (falling back to default)
echo Using service account with key \"$branchSaKey\"
81
-
serviceAccount=$branchSa
82
-
else
83
-
echo Falling back to service account with key "DEVELOP_SERVICE_ACCOUNT"
84
-
serviceAccount=$DEVELOP_SERVICE_ACCOUNT
62
+
- name: Generate Firebase SDK config for ${{ env.GCLOUD_PROJECT }}
63
+
env:
64
+
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
65
+
run: |
66
+
set -o pipefail
67
+
68
+
# Throw a clear error if FIREBASE_TOKEN secret is not set
69
+
if [ -z "$FIREBASE_TOKEN" ];
70
+
then
71
+
missingTokenErrMsg="\"FIREBASE_TOKEN\" github secret is required to load project configuration. Visit https://github.com/${{ github.repository }}/settings/secrets to set."
0 commit comments