瀏覽代碼

skips files that are news on remote

test
Jean-Christophe Vanhalle 2 年之前
父節點
當前提交
f3afb76350
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      deploy-directory-to-remote.sh

+ 1
- 1
deploy-directory-to-remote.sh 查看文件

fi fi
fi fi


if rsync --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --executability --human-readable --progress --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then
if rsync --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --executability --human-readable --progress --update --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then
echo syncing OK echo syncing OK
else else
echo syncing NOK echo syncing NOK

Loading…
取消
儲存