Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy Play app on Heroku from a subdirectory of git repo

I want to deploy a Play 2.0.4 app on Heroku using git push heroku master but I have moved the play root folder into a sub folder of my git repo. Is there a way to deploy from there?

Currently it misidentifies my project as a 1.2.4 Play app, then the compilation and the deployment fails.

-----> Play! app detected
-----> WARNING: Play! version not specified in dependencies.yml. Default version: 1.2.4 being used....
-----> Installing Play! 1.2.4.....
-----> done
-----> Installing ivysettings.xml..... done
-----> Building Play! application...
like image 912
Tamas Avatar asked Oct 06 '22 09:10

Tamas


1 Answers

Install this git plugin.

https://github.com/apenwarr/git-subtree

Run "git subtree push --prefix **subfolder with app" heroku master"

like image 178
Brian Petro Avatar answered Oct 13 '22 11:10

Brian Petro