|
@@ -30,7 +30,6 @@ def call(Map args = [:]) {
|
|
|
sh """
|
|
sh """
|
|
|
ssh -o StrictHostKeyChecking=no ${remoteHost} \
|
|
ssh -o StrictHostKeyChecking=no ${remoteHost} \
|
|
|
'chmod -R 755 ${remoteDist} &&
|
|
'chmod -R 755 ${remoteDist} &&
|
|
|
- chown -R www-data:www-data ${remoteDist} &&
|
|
|
|
|
nginx -t && nginx -s reload'
|
|
nginx -t && nginx -s reload'
|
|
|
"""
|
|
"""
|
|
|
|
|
|