Skip to content

Commit e5bbf48

Browse files
authored
Update firebase-hosting-merge.yml
1 parent 434e5c0 commit e5bbf48

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/firebase-hosting-merge.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# https://github.com/firebase/firebase-tools
33

44
name: Deploy to Firebase Hosting on merge
5+
56
on:
67
push:
78
branches:
@@ -10,24 +11,25 @@ on:
1011
jobs:
1112
build_and_deploy:
1213
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
working-directory: my-app
17+
1318
steps:
1419
- uses: actions/checkout@v4
1520

1621
- name: Install dependencies
1722
run: npm ci
18-
working-directory: my-app
1923

2024
- name: Build the app
2125
run: npm run build
22-
working-directory: my-app
2326

24-
- name: Deploy to Firebase
27+
- name: Deploy to Firebase Hosting
2528
uses: FirebaseExtended/action-hosting-deploy@v0
2629
with:
2730
repoToken: ${{ secrets.GITHUB_TOKEN }}
2831
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FINDMYNEXTCOURSE }}
2932
channelId: live
3033
projectId: findmynextcourse
31-
target: default
3234
env:
3335
FIREBASE_CLI_PREVIEWS: hostingchannels

0 commit comments

Comments
 (0)