Heroku deploy a sub directory?

前端 未结 3 1695
夕颜
夕颜 2021-02-05 08:38

I\'m trying to deploy a node app, but I\'m running into a problem with how my code is structure. The app is git inited at the top level and it looks like:

App (         


        
3条回答
  •  情歌与酒
    2021-02-05 09:23

    I think git-subtree should work:

    git subtree push --prefix server heroku master

    Additional resources:

    • How can I deploy/push only a subdirectory of my git repo to Heroku?
    • https://coderwall.com/p/ssxp5q

提交回复
热议问题