timanovsky / subdir-heroku-buildpack

Allows to use subdirectory configured via environment variable as a project root
https://medium.com/@timanovsky/heroku-buildpack-to-support-deployment-from-subdirectory-e743c2c838dd
520 stars 329 forks source link

still deploying front end #12

Open jbenjoy2 opened 2 years ago

jbenjoy2 commented 2 years ago

I have followed all of the steps in the article about using this build pack to deploy a subfolder on heroku. However, it continues to deploy my entire app. I only want my backend/ folder deploying on heroku, not my entire repo but it seems like its not working that way. Is it still supposed to respond to code changes in the entire app, but only be showing the server code in the deployment, or is it not supposed to be responding to the front end at all?

repository_name/ ├─ backend/ ├─ frontend/

CONFIG_VAR SETUP

PROJECT_PATH: backend

tiagomota79 commented 2 years ago

Try PROJECT_PATH=./backend/