services.<name>.pre_deploy
Command run once per deployment, in a separate VM with the same variables, before traffic moves (for migrations). Failure stops the rollout.
- Type: string
- Since: manifest v1
Example
Section titled “Example”services: web: pre_deploy: pnpm --filter db migrate deploySee also
Section titled “See also”- services: all fields of
services - guv.yaml reference