Skip to content

CI for production #1413

CI for production

CI for production #1413

Workflow file for this run

name: CI for production
on:
repository_dispatch:
schedule:
- cron: "30 1 * * *"
push:
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 23
- name: Install Firebase tools
run: sudo npm install -g firebase-tools
- name: Build Website
run: |
npm ci
npm run build
- name: Deploy to Firebase
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: sudo firebase deploy -P default --token "$FIREBASE_TOKEN"