Skip to content

little optimization

little optimization #8

name: Deploy to Firebase
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
env:
VITE_FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
VITE_VOTE_MASTER: ${{ secrets.VOTE_MASTER}}
VITE_BACKEND_URL: ${{ secrets.BACKEND_URL}}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_LOLACINE_3D94C }}
channelId: live
projectId: lolacine-3d94c