Skip to content

Commit 8ada3c2

Browse files
committed
updated workflows
1 parent 5ce8ecc commit 8ada3c2

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.firebase/hosting.ZGlzdA.cache

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
index.html,1655792603202,d1a6271d1b2baf05babc6555fe98486ad3affef0fe68ed17cad20d338d1a4421

.github/workflows/firebase-hosting-merge.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/firebase/firebase-tools
33

44
name: Deploy to Firebase Hosting on merge
5-
'on':
5+
"on":
66
push:
77
branches:
88
- master
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- run: npm ci && npm run build
14+
- run: npm install && npm run build
1515
- uses: FirebaseExtended/action-hosting-deploy@v0
1616
with:
17-
repoToken: '${{ secrets.GITHUB_TOKEN }}'
18-
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_AMAR_PROGRESS }}'
17+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
18+
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_AMAR_PROGRESS }}"
1919
channelId: live
2020
projectId: amar-progress

.github/workflows/firebase-hosting-pull-request.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# https://github.com/firebase/firebase-tools
33

44
name: Deploy to Firebase Hosting on PR
5-
'on': pull_request
5+
"on": pull_request
66
jobs:
77
build_and_preview:
8-
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
8+
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- run: npm ci && npm run build
12+
- run: npm install && npm run build
1313
- uses: FirebaseExtended/action-hosting-deploy@v0
1414
with:
15-
repoToken: '${{ secrets.GITHUB_TOKEN }}'
16-
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_AMAR_PROGRESS }}'
15+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
16+
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_AMAR_PROGRESS }}"
1717
projectId: amar-progress

0 commit comments

Comments
 (0)