Created
June 23, 2013 18:05
-
-
Save iambibhas/5845932 to your computer and use it in GitHub Desktop.
One-liner git based deployment command
This file contains hidden or 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
echo "cd /mnt/project_name_beta/;git pull origin dev;sudo supervisorctl restart project_name" | ssh -i ~/Works/keys/project_name.pem [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment