After Deploy Command

It’d be great to add a afterDeployCommand (or maybe afterStartCommand) to run things like migrations or long-running setup jobs on deploy. Currently, I cannot run migrations automatically on deploys, and I believe it’s because the health check fails until the start is complete (so if I try to migrate before, no dice).

1 Like

Absolutely, this is something I want us to add too - it’s been requested at so make sure you vote for it there

If it helps, I run migrations as part of my build process, it’s not ideal but it’s the best option right now.

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.