luhaowen 2 周之前
父節點
當前提交
924aa669f8
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      vars/deployDist.groovy

+ 0 - 1
vars/deployDist.groovy

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