Skip to content

Commit 3966f05

Browse files
committed
only deploy firebase database rules in CI, not functions or hosting
1 parent dd856f7 commit 3966f05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/actions.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ jobs:
4040
env:
4141
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
4242
FIREBASE_DB: ${{ secrets.FIREBASE_DB }}
43-
FIREBASE_AUTH_SITE: ${{ secrets.FIREBASE_AUTH_SITE }}
4443
run: |
45-
docker-compose up --build --abort-on-container-exit firebase_deploy
44+
docker-compose run firebase_deploy sh -c "firebase use $FIREBASE_DB && firebase deploy --token $FIREBASE_TOKEN --only database:rules"
4645
- name: Decrypt Service Account Key File
4746
working-directory: ./
4847
run: |

0 commit comments

Comments
 (0)