Do not deploy `nginx` conf, if deployed.

This commit is contained in:
Kazuhiro MUSASHI 2020-11-12 15:57:47 +09:00
parent 3607dd1829
commit f7054c6663
1 changed files with 2 additions and 0 deletions

View File

@ -46,5 +46,7 @@ end
git '/home/webadm/repo/nginx-config' do git '/home/webadm/repo/nginx-config' do
user 'webadm' user 'webadm'
repository 'https://gitea.kazu634.com/kazu634/nginx-config.git' repository 'https://gitea.kazu634.com/kazu634/nginx-config.git'
not_if 'test -e /home/webadm/repo/nginx-config'
end end