Parcourir la source

removes unused file metadata when syncing to remote

test
Jean-Christophe Vanhalle il y a 2 ans
Parent
révision
4e845592e2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      deploy-directory-to-remote.sh

+ 1
- 1
deploy-directory-to-remote.sh Voir le fichier

@@ -38,7 +38,7 @@ if [ "${remote_is_docker}" != "yes" ]; then
fi
fi

if rsync --archive --compress --delete --delete-excluded --exclude-from="${deployment_exclude_file}" --human-readable --progress "${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 --recursive "${local_directory_path}/" "${remote_ssh_string}":"${remote_directory_path}"; then
echo syncing OK
else
echo syncing NOK

Chargement…
Annuler
Enregistrer