I’d like to be able to push production branch to production-app and master branch to staging-app on Heroku.
I’ve followed the official CircleCI tutorial for that but even if both branches are master, I still don’t get the successful deploy on two apps, just the first one.
circle.yml file looks like this
deployment: prod: branch: production heroku: appname: ops4-production staging: branch: master heroku: appname: ops4-staging
What am I doing wrong?