Skip to content

Commit 30987ee

Browse files
committed
1 parent 0544387 commit 30987ee

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

.firebaserc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"staging": "staging-zenuml-27954",
55
"prod": "web-sequence-local"
66
}
7-
}
7+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
- master
9+
jobs:
10+
build_and_deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- run: yarn install && yarn build
15+
- uses: FirebaseExtended/action-hosting-deploy@v0
16+
with:
17+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
18+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STAGING_ZENUML_27954 }}'
19+
channelId: live
20+
projectId: staging-zenuml-27954
21+
env:
22+
FIREBASE_CLI_PREVIEWS: hostingchannels
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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 PR
5+
'on': pull_request
6+
jobs:
7+
build_and_preview:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- run: yarn install && yarn build
12+
- uses: FirebaseExtended/action-hosting-deploy@v0
13+
with:
14+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
15+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_STAGING_ZENUML_27954 }}'
16+
projectId: staging-zenuml-27954
17+
env:
18+
FIREBASE_CLI_PREVIEWS: hostingchannels

0 commit comments

Comments
 (0)