Skip to content

feat: add about page (#23) #9

feat: add about page (#23)

feat: add about page (#23) #9

name: Upload Widgetbook Build - Staging
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Build App
run: |
flutter pub get
flutter gen-l10n
- name: Install Widgetbook CLI
run: dart pub global activate widgetbook_cli
- name: Build Widgetbook
working-directory: widgetbook
run: |
flutter pub get
dart run build_runner build -d
flutter build web -t lib/main.dart
- name: Upload Widgetbook
working-directory: widgetbook
run: widgetbook_staging publish --api-key ${{ secrets.WIDGETBOOK_CLOUD_API_KEY_STAGING }}