Skip to content

fix: reload page after updating #13

fix: reload page after updating

fix: reload page after updating #13

# 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
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3
- run: pnpm i --frozen-lockfile && pnpm run build
env:
NODE_OPTIONS: --max_old_space_size=4096
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_THE_COFFEE_LOUNGE }}'
channelId: live
projectId: the-coffee-lounge