소스 검색

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 파일 보기

@@ -38,7 +38,7 @@ if [ "${remote_is_docker}" != "yes" ]; then
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
else
echo syncing NOK

Loading…
취소
저장