You might be able to automate at least some of that by adding code to the “custom commands” at the bottom of your app.yml.
app.yml