File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# https://github.com/firebase/firebase-tools
33
44name : Deploy to Firebase Hosting on merge
5+
56on :
67 push :
78 branches :
1011jobs :
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
You can’t perform that action at this time.
0 commit comments