Skip to content

Merge pull request #74 from devlille/snyk-upgrade-e767ef91809d383e68f… #1415

Merge pull request #74 from devlille/snyk-upgrade-e767ef91809d383e68f…

Merge pull request #74 from devlille/snyk-upgrade-e767ef91809d383e68f… #1415

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"