Skip to content

1.1.13

1.1.13 #49

Workflow file for this run

name: Deploy
on:
push:
tags:
- v*
jobs:
deploy:
name: Deploy to Firebase
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install Yarn
run: npm install yarn@latest -g
- name: Install Firebase Tools
run: npm install firebase-tools -g
- name: Install dependencies
run: yarn
- name: Run build
run: yarn build
- name: Run deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: |
firebase use ossph-org && \
firebase deploy --only functions:ossphSSRHandler && \
firebase target:clear hosting prod && \
firebase target:apply hosting prod ossph-org && \
firebase deploy --only hosting:prod