Skip to content

Fix the prerender for users without PWA #52

Fix the prerender for users without PWA

Fix the prerender for users without PWA #52

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm install
- name: Create serviceAccount.json
env:
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
run: echo "$FIREBASE_SERVICE_ACCOUNT" > serviceAccount.json
- name: Run npm ci
run: npm ci
- name: Run npm run build
run: npm run build
- name: Run npm run deploy
run: npm run deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}