Преглед на файлове

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…
Отказ
Запис