Skip to content

feat(web): styles for nav #17

feat(web): styles for nav

feat(web): styles for nav #17

Workflow file for this run

name: Prod | Deploy CMS
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'cms/**/*'
- 'shared/**/*'
env:
PROJECT: genos-ec52a
SERVICE_ACCOUNT: ${{ secrets.SERVICE_ACCOUNT }}
TARGET: cms
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 20.9.0
uses: actions/setup-node@v1
with:
node-version: 20.9.0
- name: Checkout Repo
uses: actions/checkout@v3
- name: Build
run: npm ci --prefix cms --legacy-peer-deps && npm run build:prod --prefix cms
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: ${{ env.SERVICE_ACCOUNT }}
channelId: live
projectId: ${{ env.PROJECT }}
target: ${{ env.TARGET }}