Skip to content

services.<name>.pre_deploy

View as Markdown

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
services:
web:
pre_deploy: pnpm --filter db migrate deploy