Skip to content

Merge pull request #56 from remap-keys/upgrade-node-html-parser #64

Merge pull request #56 from remap-keys/upgrade-node-html-parser

Merge pull request #56 from remap-keys/upgrade-node-html-parser #64

Workflow file for this run

name: Deploy for Production
on:
push:
branches:
- main
jobs:
deploy:
name: Build and Deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Firebase Tools
run: npm install -g firebase-tools
- name: Install dependencies
run: cd functions; yarn install
- name: Deploy to Firebase
run: firebase deploy --token ${{ secrets.FIREBASE_TOKEN_PRODUCTION }} --project remap-b2d08
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN_PRODUCTION }}
PROJECT_ID: remap-b2d08
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
NOTIFICATION_URL: ${{ secrets.NOTIFICATION_URL }}