Auto-Deploying a Monorepo to Heroku with GitHub Actions
Note: This article was written before GitHub renamed the “master” branch to “main”. You may need to replace “master” with “main” or whatever your desired branch to deploy from is named for this code to work.
If you’re anything like me then you enjoy the satisfaction of pressing a button and seeing things just work. And it’s even better if you don’t have to press any buttons.
But before we talk about automating anything here’s the first problem if you have a monorepo: Heroku expects one application per…