feat(web): fixing broken styles #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |