Created
December 14, 2011 10:05
-
-
Save durran/1475968 to your computer and use it in GitHub Desktop.
Git deploy with Trinidad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
cd .. | |
unset GIT_DIR | |
env -i git reset --hard | |
/home/user/.rvm/bin/rvm jruby@app exec bundle install | |
touch /data/app/tmp/restart.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment