This script is use for deploy files by git.
- 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
- execute
# sh execute_deploy.sh
- cron setting(ex: per 5 mins)
#*/5 * * * * username /path_to_set_dir/execute_deploy.sh