run release_command only on specific process

I have a migration script I want to run once before my deployment.
The problem is I have multiple processes for each it runs my deployment script.

Is there any way I can specify to only run the release_command on a single proces

My config:

[deploy]
  release_command = "sh ./migrate.sh"

[processes]
  app = "sh ./run.sh"
  queue = "sh ./queue.sh"
  schedule="sh ./schedule.sh"
1 Like

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