Skip to content

Update firebase-hosting-merge.yml #174

Update firebase-hosting-merge.yml

Update firebase-hosting-merge.yml #174

# This file is modified from the auto-generated version from the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy Prod to Firebase Hosting
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.0.0'
cache: 'yarn'
- name: Install and Build 🔧
run: |
yarn install
yarn build
- name: Deploy 🚀
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODEOFMUSIC_16A81 }}'
channelId: live
projectId: codeofmusic-16a81