From 60d9fdce0c3c60a07a62fb612d2d4d019a965521 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Thu, 21 Dec 2023 13:14:21 +0200 Subject: [PATCH] configure rsync to not change file permissions --- infrastructure/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/deploy.sh b/infrastructure/deploy.sh index 6246ea0d5..49d05f5d0 100755 --- a/infrastructure/deploy.sh +++ b/infrastructure/deploy.sh @@ -320,8 +320,8 @@ echo echo "Deploying COUNTRY_CONFIG_VERSION $COUNTRY_CONFIG_VERSION to $SSH_HOST..." echo -configured_rsync -az $PROJECT_ROOT/infrastructure $SSH_USER@$SSH_HOST:/opt/opencrvs/ --delete -configured_rsync /tmp/docker-compose.yml /tmp/docker-compose.deps.yml $SSH_USER@$SSH_HOST:/opt/opencrvs/infrastructure +configured_rsync -az $PROJECT_ROOT/infrastructure $SSH_USER@$SSH_HOST:/opt/opencrvs/ --delete --no-perms --omit-dir-times +configured_rsync /tmp/docker-compose.yml /tmp/docker-compose.deps.yml $SSH_USER@$SSH_HOST:/opt/opencrvs/infrastructure --no-perms --omit-dir-times configured_ssh << EOF docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN