Skip to content

Test widgetbook cloud #5

Test widgetbook cloud

Test widgetbook cloud #5

Workflow file for this run

name: Widgetbook Cloud Hosting
on: push
jobs:
widgetbook-cloud-hosting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Bootstrap App
run: |
flutter pub get
# Add any other steps needed to make your
# app widgets available for Widgetbook
- name: Build Widgetbook
working-directory: widgetbook
run: |
flutter pub get
dart run build_runner build -d
flutter build web -t examples/coffee_maker_navigator_2/widgetbook/lib/main.dart
- name: Install Widgetbook CLI
run: dart pub global activate widgetbook_cli
- name: Push Widgetbook Build
working-directory: widgetbook
run: widgetbook cloud build push --api-key ${{ secrets.WIDGETBOOK_API_KEY }}