/server_git_deploy_tool

Deploy tool for git

Primary LanguageShell

git deploy tool

This script is use for deploy files by git.


How to use

1. set config file

  • Copy config file from sample and edit it for your enviroment
$ cp setup.conf.sample setup.conf
$ vi setup.conf
$ chmod 600 setup.conf
$ chmod 700 execute_deploy.sh

2. execute script or set on cron

  • execute
# sh execute_deploy.sh
  • cron setting(ex: per 5 mins)
#*/5 * * * * username /path_to_set_dir/execute_deploy.sh