Skip to content

Merge pull request #696 from MewsSystems/release-2024-10-08 #6

Merge pull request #696 from MewsSystems/release-2024-10-08

Merge pull request #696 from MewsSystems/release-2024-10-08 #6

name: Deploy Widgetbook
on:
workflow_dispatch:
push:
branches:
- master
paths:
- optimus_widgetbook/**
- optimus/**
jobs:
deploy_widgetbook:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/actions/setup
- name: Build Web
run: |
melos exec --scope="optimus_widgetbook" -- "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: optimus_widgetbook/