porter.yaml file.
Configuring pre-deploy in the Porter dashboard
You should see the pre-deploy section at the top of your application’s Overview tab: Alternatively, when creating a new application, you will see the same section in the creation flow. From here, you can specify the start command (e.g.,bash ./migrate-db.sh) as well as resources allocated for the job.
After updating your application, the pre-deploy command will be run after the next build.
Configuring pre-deploy in the porter.yaml file
If you are new toporter.yaml, start here. Otherwise, see here for information about configuring a pre-deploy job in your porter.yaml file.

