We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 322a866 commit 434e5c0Copy full SHA for 434e5c0
1 file changed
.github/workflows/firebase-hosting-merge.yml
@@ -6,16 +6,28 @@ on:
6
push:
7
branches:
8
- main
9
+
10
jobs:
11
build_and_deploy:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v4
- - run: cd my-app/
15
- - run: npm ci && npm run build
16
- - uses: FirebaseExtended/action-hosting-deploy@v0
+ - name: Install dependencies
17
+ run: npm ci
18
+ working-directory: my-app
19
20
+ - name: Build the app
21
+ run: npm run build
22
23
24
+ - name: Deploy to Firebase
25
+ uses: FirebaseExtended/action-hosting-deploy@v0
26
with:
27
repoToken: ${{ secrets.GITHUB_TOKEN }}
28
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_FINDMYNEXTCOURSE }}
29
channelId: live
30
projectId: findmynextcourse
31
+ target: default
32
+ env:
33
+ FIREBASE_CLI_PREVIEWS: hostingchannels
0 commit comments