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
-
baseHrefstring default/ - Value for the <base href="..."> tag. Use "/" for root deployments.
-
rendererstring defaultcanvaskit - Web renderer.
canvaskitgives pixel-perfect rendering;htmlhas smaller download size. -
targetstring - Dart entry file (passed as
--target=). Leave empty forlib/main.dart. -
workingDirectorystring default. - Project sub-directory inside the repo.
Outputs
bundlePathartifact- Path to the build/web directory.