Skip to content

Merge pull request #684 from MewsSystems/release-2024-09-23 #146

Merge pull request #684 from MewsSystems/release-2024-09-23

Merge pull request #684 from MewsSystems/release-2024-09-23 #146

name: Deploy Storybook
on:
workflow_dispatch:
push:
branches:
- master
paths:
- storybook/**
- optimus/**
jobs:
deploy_storybook:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Build Web
run: |
melos exec --scope="storybook" -- "flutter build web"
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_WEB_DEPLOY }}"
channelId: live
projectId: mews-optimus
entryPoint: storybook/