> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# bijection deploy

> Deploy the backend and apps

## bijection deploy

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Capture and publish the current backend and apps. Name a hosted installation with --installation <project>:<name> or save it with bijection installation select. A production deploy from a saved selection requires interactive confirmation. Production deploys require committed source unless --allow-uncommitted is passed. Follow an admitted deploy with bijection deploy status <project>:<name> <deploy-id>. Build a program once with bijection build and deploy that program to an installation with --program: a rollback or a promotion is deploying that program here.

Usage:
  bijection deploy [flags]
  bijection deploy [command]

Available Commands:
  cancel      Cancel a publication
  inspect
  list
  log
  outputs     Register the identities your apply of the generated boundary created
  status

Flags:
      --accept-breaking-contracts string   Accept the named breaking function contracts in production. Supply the comma-separated paths reported by deploy --trial.
      --allow-uncommitted                  Allow a production deploy to publish uncommitted edits
      --apply-plan string                  Deploy the same provider choices reviewed by an earlier trial
      --bindings string                    Apply the installation's bindings file: provider bindings and resource entries (omit to keep the accepted map)
      --branch string                      Deploy the program into this open branch (the id ctx.branch returned) as its candidate instead of activating it: every call in the branch runs it, and landing the branch installs it. The deploy key's principal needs installation authority
      --build-only                         Retain compiled backend and app artifacts without deploying or publishing them
      --catalog-outputs string             Enroll managed catalog storage using the applied Terraform outputs
      --cmd string                         Command to run before a direct backend deploy of a self-hosted frontend (e.g. vite build). It runs with BIJECTION_URL and BIJECTION_SITE_URL set to the installation, and with the detected framework's public names (e.g. VITE_BIJECTION_URL). Managed projects use their package build scripts. Requires native-preparation-controls.
      --detach                             When a slot must move before the program can activate (VersionNotServed), stop after recording the move and print the command that resumes the deploy, instead of following the move and deploying again until the program activates
      --env-file string                    Path to a custom file of environment variables, for choosing the installation, e.g. BIJECTION_INSTALLATION or BIJECTION_SELF_HOSTED_URL. Same format as .env.local or .env files, and overrides them.
      --expected-source-commit string      Deploy only this reviewed commit; refuses changed source or a direct backend push
      --format string                      Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help                               help for deploy
      --help-all                           Show all commands and options, including administrative controls.
      --help-json                          Print command input and output schemas as JSON without executing it.
      --installation string                Deploy to this installation: <project>:<name>
      --message string                     Optional message to attach to this deploy in the audit log.
      --once string                        Stable deploy attempt identity for CI; reuse only for the same captured intent
      --program string                     Deploy this program, program:<64 hex> as bijection build prints it or bijection list sys.programs lists it, instead of capturing the source. A program built for another installation of the project is promoted here first
      --reconvey string                    Convey fresh reviewed program grants for the named stopped grants. Pass the comma-separated keys reported by deploy --trial.
      --restart string                     Consent that the pending move of each named running slot (comma-separated) begins a new history, as a first placement does, when its old provider stopped without a resumable point. The consent is digested into the placement plan and never kept in the bindings file
      --seen string                        Deploy only over the installed program this reviewed version saw, a v1.… token as bijection version prints it; refuses Conflict when the installed program moved past it
      --timeout string                     Maximum observation duration; omitted waits until completion or interruption without cancelling the request
      --trial                              Analyze the backend program against the selected installation without installing it; shows each slot's placement plan: provider and class, guarantee changes, generation change, move plan, trust, blocker, pinned tasks and billing effect
      --typecheck string                   Check TypeScript files before deploying. Disabling checks inspects without activation. (enable, try, disable) (default "enable")
      --typecheck-components               Check TypeScript files within component implementations with the pinned native TypeScript compiler.
  -v, --verbose                            Show full listing of changes
      --write-plan string                  Save the reviewed placement plan from --trial

Use "bijection deploy [command] --help" for more information about a command.
```

## bijection deploy cancel

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Cancel a direct backend publication with its original request reference, or a hosted publication with its installation and deploy ID.

Usage:
  bijection deploy cancel <installation-or-request> [deploy-id] [flags]

Flags:
      --format string   Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help            help for cancel
      --help-all        Show all commands and options, including administrative controls.
      --help-json       Print command input and output schemas as JSON without executing it.
```

## bijection deploy inspect

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Usage:
  bijection deploy inspect <installation> <deploy-id> [flags]

Flags:
      --format string   Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help            help for inspect
      --help-all        Show all commands and options, including administrative controls.
      --help-json       Print command input and output schemas as JSON without executing it.
```

## bijection deploy list

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Usage:
  bijection deploy list <installation> [flags]

Flags:
      --format string   Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help            help for list
      --help-all        Show all commands and options, including administrative controls.
      --help-json       Print command input and output schemas as JSON without executing it.
```

## bijection deploy log

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Usage:
  bijection deploy log <installation> <deploy-id> [flags]

Flags:
      --format string   Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help            help for log
      --help-all        Show all commands and options, including administrative controls.
      --help-json       Print command input and output schemas as JSON without executing it.
      --next string     Build log page cursor
```

## bijection deploy outputs

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Read the non-sensitive bijection_boundary output of the applied infra/<environment>/<installation-hash>/terraform root, check that it was applied from the current infra/<environment>/<installation-hash>/boundary.json, and register each worker pool's identity with the installation's Compute installation. Pools the manifest removed lose their identities; destroying their resources stays your action. Name the outputs with exactly one of --terraform-outputs, --from-terraform or --request. Nothing secret is read or written.

Usage:
  bijection deploy outputs [flags]

Flags:
      --format string              Output format; JSON preserves exact values. (pretty, json) (default "pretty")
      --from-terraform string      Run terraform output -json in this applied root with your installed Terraform and credentials
  -h, --help                       help for outputs
      --help-all                   Show all commands and options, including administrative controls.
      --help-json                  Print command input and output schemas as JSON without executing it.
      --installation string        Register on this installation: <project>:<name>, as my-app:prod.
      --out string                 Also write the outputs to this new file, for the infrastructure.outputs project adapter
      --plan-dir string            The generated directory holding boundary.json, when not infra/<environment>/<installation-hash>
      --request string             A completed bijection infrastructure request, which retains the root's bijection_boundary output
      --sign-in-source string      Select the installed authentication source for business sign-in
      --terraform string           With --from-terraform, the Terraform executable to run
      --terraform-outputs string   A file holding terraform output -json of the applied root
      --url string                 Register on a private installation at this explicit origin.
```

## bijection deploy status

```text theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
Usage:
  bijection deploy status <installation> <deploy-id> [flags]

Flags:
      --format string    Output format; JSON preserves exact values. (pretty, json) (default "pretty")
  -h, --help             help for status
      --help-all         Show all commands and options, including administrative controls.
      --help-json        Print command input and output schemas as JSON without executing it.
      --timeout string   Maximum observation time
      --wait             Wait until the deploy is ready, serving or terminal
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.