Per advise from Heroku - push subtrees to different apps I'm trying to push a local dist folder to one of my Heroku Node apps.
However, I can't get it to work for my case. I issued first the command:
git remote add myherokuapp https://git.heroku.com/myherokuapp.git
(https://git.heroku.com/myherokuapp.git is the git URL for my app from the Heroku dashboard)
followed by the command:
git subtree push --prefix dist myherokuapp master
which supposedly should push a local dist folder to the root of the myherokuapp file system.
I see in the console that this last command pushes over 500 files to some destination and completes without error. But when I check through bash the file system for myherokuapp, it is empty - no dist folder.
What could be the reason for this problem?