Skip to content

Commit

Permalink
configure rsync to not change file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Dec 21, 2023
1 parent 5de4684 commit 60d9fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60d9fdc

Please sign in to comment.