Skip to content

Commit db4de09

Browse files
add: devfesahm24 deploy workflow
1 parent dc7b6c4 commit db4de09

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on merge
5+
'on':
6+
push:
7+
branches:
8+
- devfest24
9+
jobs:
10+
build_and_deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v3
15+
with:
16+
node-version: 20
17+
- name: Create temp serviceAccount.json
18+
run: echo "{}" > serviceAccount.json
19+
- run: npm ci
20+
- run: npm run build
21+
- uses: FirebaseExtended/action-hosting-deploy@v0
22+
with:
23+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
24+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEVFESTAHM24 }}'
25+
channelId: live
26+
projectId: devfestahm24

0 commit comments

Comments
 (0)