BitBucket

The Widgetbook Hosting Docker image allows Widgetbook Cloud users to upload the Widgetbook version hosted on BitBucket.

The Docker image, named widgetbook-hosting-bitbucket, is available on Docker Hub. Access the executable by calling /widgetbook-hosting.

pipelines:
  branches:
    dev:
      - step:
          name: Build web
          image:
            name: cirrusci/flutter
          script:
            - flutter build web -t lib/main.widgetbook.dart
          artifacts:
            - build/**
      - step:
          name: Host on widgetbook
          image:
            name: widgetbook/widgetbook-hosting-bitbucket:dev
          script:
            - /widgetbook-hosting