Skip to content

Workflow file for this run

name: Deploy to Firebase Hosting
on:
push:
branches:
- master
env:
FIREBASE_TOKEN: ${{secrets.FIREBASE_TOKEN}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.11.1
- uses: cschleiden/replace-tokens@v1
with:
files: '["**/environment.prod.ts"]'
env:
FIREBASE_API_KEY: ${{secrets.FIREBASE_API_KEY}}
- run: npm ci
- run: npm run build
- run: npm run deploy