Configure multiple buildpacks
rbiersbach opened this issue Β· comments
Hello guys,
First of all thanks for creating this awesome github action!
I am a bit new to this ecosystem so forgive me π
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!
Any news on that?
FYI we've walked around this by such approach:
- We configured Heroku to deploy specific app when pushed to
branch
- We created GHA that pushes to
branch
. That way, the Heroku runs the deploy triggered by GHA action.