Skip to content

add firebase hosting deployment #1

add firebase hosting deployment

add firebase hosting deployment #1

Workflow file for this run

---
name: Deploy
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-22.04
container: node:20-alpine
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: npm i
- name: Build the site
run: npm run build
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
firebaseServiceAccount: "${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}"
projectId: personal-419019
channelId: live