Skip to content

Instantly share code, notes, and snippets.

@jamiew
Created April 3, 2012 20:18
Show Gist options
  • Save jamiew/2295246 to your computer and use it in GitHub Desktop.
Save jamiew/2295246 to your computer and use it in GitHub Desktop.
$ cat deploy
#!/bin/sh
# any extra arguments are passed to `git push`, e.g. -f
app='vhx-artists'
remote='heroku'
git push $remote master $1 || exit $?
heroku run rake assets:precompile --app=$app || exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment