AkhileshNS / heroku-deploy

A simple github action that dynamically deploys an app to heroku
MIT License
972 stars 253 forks source link

Configure multiple buildpacks #110

Open rbiersbach opened 2 years ago

rbiersbach commented 2 years ago

Hello guys, First of all thanks for creating this awesome github action! I am a bit new to this ecosystem so forgive me :bow:

I am currently using the action to deploy a discord bot to heroku: https://github.com/rbiersbach/discord-poll-bot As I am using poetry I am using this buildpack to prepare the dependencies for the default python buildpack: https://github.com/moneymeets/python-poetry-buildpack The documentation of the python-poetry-buildpack states that you usually would need to do something like this:

heroku buildpacks:clear
heroku buildpacks:add https://github.com/moneymeets/python-poetry-buildpack.git
heroku buildpacks:add heroku/python

As far as I understand you can only specify one buildpack in your github action, meaning I had to run heroku buildpacks:add heroku/python manually after deployment.

Is there a way to add a list of buildpacks or did I miss anything?

Thanks in advance!

ludwikbukowski commented 2 years ago

Any news on that?

ludwikbukowski commented 2 years ago

FYI we've walked around this by such approach: