-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 973 Bytes
/
deploy-prod.yml
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
26
27
28
29
30
31
32
33
34
35
36
name: Deploy to Live Channel
on:
push:
branches:
- main
# Optionally configure to run only for specific files. For example:
# paths:
# - "website/**"
jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Add any build steps here. For example:
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Archive Production Artifact
uses: actions/upload-artifact@v4
with:
name: build
path: build
- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: build
path: build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_BET_LOG_24881 }}
channelId: live
projectId: bet-log-24881