CLI reference / web / build

stado web build

Invocation

stado web build [OPTIONS]

Purpose

Build the checked-out web product and stage its runnable tarball. Runs on a release worker, inside the checkout Stado prepared.

Required inputs and options

Input or optionContract
--root <ROOT>The directory the site is served from, repository-relative. Only a static site names one — for a product whose build script writes into `dist/`, or whose site is not at the repository root. Absent, the site root is the checkout root.
--package <PACKAGE>The directory holding the product's `package.json`, repository-relative, for a product whose web application is not at the repository root. Its install, build and staged tarball are that directory's; the product name and the source revision stay the repository's. Absent, the package is the checkout root
--git-input <GIT_INPUTS>A private Git dependency answered from a release input: `INPUT=OWNER/REPOSITORY.git`. Repeatable; the same as on quality
--link-input <LINK_INPUTS>A `file:` dependency outside the package answered from a release input: `PATH=INPUT[/SUBPATH]`. Repeatable; the same as on quality

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.