Created
October 2, 2017 14:44
-
-
Save fredkingham/56567044a451e491999ceb1834aa3768 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/bash | |
# | |
# ./deploy_prod.sh $branch_name $previous_branch_name | |
# | |
fab clone_branch:$1 2>1 | tee /usr/lib/ohc/deployment.log | |
cd /usr/lib/ohc/elcidrfh-$1 | |
fab deploy_prod:$2 2>1 | tee /usr/lib/ohc/deployment.log |
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/bash | |
# | |
# ./deploy_test.sh $branch_name $database_backup_location | |
# | |
fab clone_branch:$1 2>1 | tee /usr/lib/ohc/deployment.log | |
cd /usr/lib/ohc/elcidrfh-$1 | |
fab deploy_test:$2 2>1 | tee /usr/lib/ohc/deployment.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment