Skip to content

Commit

Permalink
Update widgetbook.yml
Browse files Browse the repository at this point in the history
Fix widgetbook yaml
  • Loading branch information
ulusoyca authored Dec 20, 2024
1 parent 8f323ad commit 40f027a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/widgetbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
# app widgets available for Widgetbook
- name: Build Widgetbook
working-directory: widgetbook
working-directory: examples/coffee_maker_navigator_2/widgetbook
run: |
flutter pub get
cd examples/coffee_maker_navigator_2/widgetbook && dart run build_runner build -d
flutter build web -t examples/coffee_maker_navigator_2/widgetbook/lib/main.dart
dart run build_runner build -d
flutter build web -t lib/main.dart
- name: Install Widgetbook CLI
run: dart pub global activate widgetbook_cli

- name: Push Widgetbook Build
working-directory: widgetbook
working-directory: examples/coffee_maker_navigator_2/widgetbook
run: widgetbook cloud build push --api-key ${{ secrets.WIDGETBOOK_API_KEY }}

0 comments on commit 40f027a

Please sign in to comment.