1
2
3
4
rake generate
git add .
git commit -m "changed"
git push heroku master

A relatively standard process for deploying Octopress sites to Heroku.

1
alias pusho='rake generate; git add .; git commit -m "changed"; git push heroku master'

We combine these commands into pusho using an alias.

1
pusho # Run inside the octopress directory

pusho deploys the updated Octopress site.

Notes

Consider building an absolute path to your Octopress folder with cd

Check out these instructions on using git add-commit

Comments