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:
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 info about configuring a pre-deploy job in your porter.yaml
file.
Tracking pre-deploy progress
Your pre-deploy job will run after your build completes successfully. You can track its progress in the Activity tab of your application:
