Skip to content

Commit c591e8b

Browse files
committed
firebase app hosted
1 parent cdf770c commit c591e8b

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
- uses: FirebaseExtended/action-hosting-deploy@v0
15+
with:
16+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
17+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PORTFOLIO_4E6E3 }}'
18+
channelId: live
19+
projectId: portfolio-4e6e3
20+
env:
21+
FIREBASE_CLI_PREVIEWS: hostingchannels
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
- uses: FirebaseExtended/action-hosting-deploy@v0
12+
with:
13+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
14+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PORTFOLIO_4E6E3 }}'
15+
projectId: portfolio-4e6e3
16+
env:
17+
FIREBASE_CLI_PREVIEWS: hostingchannels

0 commit comments

Comments
 (0)