Do not deploy `nginx` conf, if deployed.
This commit is contained in:
parent
3607dd1829
commit
f7054c6663
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue