-
-
Notifications
You must be signed in to change notification settings - Fork 84
25 lines (24 loc) · 838 Bytes
/
Copy pathfirebase-hosting-merge.yml
File metadata and controls
25 lines (24 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- main
permissions:
contents: read
jobs:
build_and_deploy:
if: github.repository == 'NextCommunity/NextCommunity.github.io'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@500ac625ca2dd40cbd15f7659af953801858032a # v0.11.0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_NEXTCOMMUNITY_EEA10 }}
channelId: live
projectId: nextcommunity-eea10