Skip to content

Instantly share code, notes, and snippets.

@trentbrooks
Created July 9, 2015 04:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentbrooks/614b5afe68e620a7dd7b to your computer and use it in GitHub Desktop.
Save trentbrooks/614b5afe68e620a7dd7b to your computer and use it in GitHub Desktop.
Heroku site (Rockhampton)
cd rockhamptongallery
heroku git:remote -a rockhampton-web
//should list two remotes, origin/github and heroku
git remote -v
middleman build
git add -f app/build # -f because we are ignoring git dir
git push heroku develop:master # heroku only works with master branch, so push our develop onto their master.
FYI Heroku will only look into the root of your git repo, so normally you wouldnt have the repo/app/source format, it would just be repo/source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment