git - Automated heroku deploy from subfolder -


i know can deploy automatically heroku github, haven't found way push subfolder github heroku.

from command-line know possible with:

git subtree push --prefix <subfolder> heroku master 

however, know if there way use github integration heroku make pull specific subfolder automatically when commit added branch.

i able make work. have server subfolder python flask app , wanted deploy automatically using github integration.

heroku uses buildpacks detect language & framework of project. more here.

i found source code buildpack here. need @ detection script. python checks requirements.txt file, made symlink using ln -s server/requirements.txt requirements.txt.

my procfile looks this: web: gunicorn --pythonpath server/api app:app.

everything works now!


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -