October 11, 2023
New

Run migrations and other tasks with the pre-deploy command

Set a pre-deploy command for your service to run tasks (such as database migrations or asset uploads) right before a new version of your service goes live.

This command is particularly useful for services that deploy a prebuilt Docker image, because they can't fold these kinds of tasks into the build command.

For details, see the blog post and documentation.