moved a step to its correct position
This commit is contained in:
parent
8648cce575
commit
e762fba9fa
1 changed files with 5 additions and 5 deletions
10
.github/workflows/functions.yml
vendored
10
.github/workflows/functions.yml
vendored
|
@ -24,6 +24,11 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: npm --prefix functions install
|
||||
|
||||
- name: Restore secrets
|
||||
run: |
|
||||
echo ${{ secrets.SECRET_JSON }} > ./functions/src/secret.json
|
||||
echo ${{ secrets.FIREBASE_ADMINSDK_JSON }} > ./functions/src/firebase-adminsdk.json
|
||||
|
||||
- name: Build
|
||||
run: npm --prefix functions run build
|
||||
|
||||
|
@ -47,11 +52,6 @@ jobs:
|
|||
name: functions_lib
|
||||
path: functions/lib
|
||||
|
||||
- name: Restore secrets
|
||||
run: |
|
||||
echo ${{ secrets.SECRET_JSON }} > ./functions/src/secret.json
|
||||
echo ${{ secrets.FIREBASE_ADMINSDK_JSON }} > ./functions/src/firebase-adminsdk.json
|
||||
|
||||
- name: Deploy to Firebase
|
||||
uses: w9jds/firebase-action@master
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue