Skip to content
hebra
Sign in

Deployments

Checks with environment = "…" deploy. Each environment has its own approvals, bookmarks that may deploy, runners and secrets.

Nothing deploys yet

Give a check an environment in .hb/checks.toml:

[[check]]
name = "deploy"
needs = ["test"]
on = ["push:main"]
environment = "production"
secrets = ["DEPLOY_KEY"]
run = "./deploy.sh"
$hb push --bookmark main -r @-