Created
September 17, 2016 04:27
-
-
Save NewFuture/0e7700a45ec00faa4c4f6f1688cdec35 to your computer and use it in GitHub Desktop.
gitdeploy_config for yyf
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
{ | |
"repositories": [ | |
{ | |
"url": "https://github.com/YunYinORG/YYF.git", | |
"path": "/var/www/YYF", | |
"cmd": "git pull && service httpd restart", | |
"branch": "master" | |
}, | |
{ | |
"url": "https://github.com/YunYinORG/YYF.git", | |
"path": "/var/www/YYF-dev", | |
"cmd": "git reset --hard origin/develop&&git pull &&service httpd restart;sed -i'' \"s;'/conf/app.ini');'/conf/app.ini','dev');\" public/index.php", | |
"branch": "develop" | |
} | |
], | |
"port": 8888 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment