Skip to content

Packages

Packages #19

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy on Merge
concurrency: production
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node 20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install & build dependencies
run: |
npm ci
npm run build-only --if-present
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
path: dist
- name: Deploy application
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RESUME_SZRAM_CO }}'
channelId: live
projectId: resume-szram-co