When I try to deploy my own GO application using git push heroku masterI get an errorPush rejected, failed to detect set buildpack heroku/go
Since the error is quite specific in that the buildpack could not be detected, I tried to manually install it using the heroku buildpacks:set heroku/go
Answer command , however, there was! Thebuildpack heroku/go is already set on your app.
Despite this, push attempts continue to cause the same error. Push rejected, failed to detect set buildpack heroku/go
It seems that the error message is misleading me, what else could be wrong? After my research, I made sure that there is a Procfile file in the application folder, and I was able to successfully complete all the steps to deploy the Heroku GO example in advance.
source
share