Build Web

flightstack/build-web@1.0.0 Step Verified

Build a Flutter web bundle ready to deploy.

Add it to a pipeline

jobs:
  - id: build-web
    uses: flightstack/build-web@1.0.0

Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.

Inputs

baseHref string default /
Value for the <base href="..."> tag. Use "/" for root deployments.
renderer string default canvaskit
Web renderer. canvaskit gives pixel-perfect rendering; html has smaller download size.
target string
Dart entry file (passed as --target=). Leave empty for lib/main.dart.
workingDirectory string default .
Project sub-directory inside the repo.

Outputs

bundlePathartifact
Path to the build/web directory.