Skip to content

Instantly share code, notes, and snippets.

@NewFuture
Created September 17, 2016 04:27
Show Gist options
  • Save NewFuture/0e7700a45ec00faa4c4f6f1688cdec35 to your computer and use it in GitHub Desktop.
Save NewFuture/0e7700a45ec00faa4c4f6f1688cdec35 to your computer and use it in GitHub Desktop.
gitdeploy_config for yyf
{
"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