Skip to content

Merge pull request #52 from remap-keys/support-organization-for-creat… #60

Merge pull request #52 from remap-keys/support-organization-for-creat…

Merge pull request #52 from remap-keys/support-organization-for-creat… #60

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: [18.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
ref: main
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: cd functions; yarn install
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy
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 }}