mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-19 18:01:37 +00:00
fix html especial characters in commands (#467)
This commit is contained in:
parent
dd78c86a60
commit
7be63384d4
@ -1,4 +1,4 @@
|
|||||||
if ! echo '{{ $cron }}' | sudo -u {{ $user }} crontab -; then
|
if ! echo '{!! $cron !!}' | sudo -u {{ $user }} crontab -; then
|
||||||
echo 'VITO_SSH_ERROR' && exit 1
|
echo 'VITO_SSH_ERROR' && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
if ! echo '{{ $key }}' | sudo tee -a ~/.ssh/authorized_keys; then
|
if ! echo '{!! $key !!}' | sudo tee -a ~/.ssh/authorized_keys; then
|
||||||
echo 'VITO_SSH_ERROR' && exit 1
|
echo 'VITO_SSH_ERROR' && exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if ! echo '{{ $redirects }}' | sudo tee /etc/nginx/conf.d/{{ $domain }}_redirects; then
|
if ! echo '{!! $redirects !!}' | sudo tee /etc/nginx/conf.d/{{ $domain }}_redirects; then
|
||||||
echo 'VITO_SSH_ERROR' && exit 1
|
echo 'VITO_SSH_ERROR' && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user