Skip to content

feat: add design link #5

feat: add design link

feat: add design link #5

Workflow file for this run

name: Upload review
on:
pull_request:
branches:
- staging
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Get dependencies
run: flutter pub get
- name: Run build runner
run: flutter pub run build_runner build -d
- name: Build Website
run: flutter build web -t lib/widgetbook.dart
- name: Install Widgetbook CLI
run: dart pub global activate widgetbook_cli 3.0.0-rc.3
- name: Upload Widgetbook
run: |
widgetbook publish --api-key UalVWAgpjvsWUIYm72r670amKcDDMQYH --repository $GITHUB_REPOSITORY --actor $GITHUB_ACTOR --branch $GITHUB_HEAD_REF --base-branch $GITHUB_BASE_REF --pr ${{ github.event.number }} --commit $GITHUB_SHA