Created
January 20, 2017 04:52
-
-
Save j138/9a39fba0f563ce26b39f620c5c60cd76 to your computer and use it in GitHub Desktop.
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 | |
DEPLOY_ENV=$1 | |
if [ $# -eq 1 ] | |
then | |
DEPLOY_ENV=$1 | |
else | |
DEPLOY_ENV="staging" | |
fi | |
cd /usr/local/app/moebius/current | |
bundle exec cap $DEPLOY_ENV deploy | |
bundle exec cap $DEPLOY_ENV unicorn:reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment