Skip to content

Commit

Permalink
remove files from target server infrastructure directory if those fil…
Browse files Browse the repository at this point in the history
…es do not exist on in repo anymore
  • Loading branch information
rikukissa committed Dec 15, 2023
1 parent 5d4b622 commit 298db77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ echo
echo "Deploying COUNTRY_CONFIG_VERSION $COUNTRY_CONFIG_VERSION to $SSH_HOST..."
echo

rsync -e "ssh -p $SSH_PORT" -az $PROJECT_ROOT/infrastructure $SSH_USER@$SSH_HOST:/opt/opencrvs/infrastructure
rsync -e "ssh -p $SSH_PORT" -az $PROJECT_ROOT/infrastructure $SSH_USER@$SSH_HOST:/opt/opencrvs/infrastructure --delete
rsync -e "ssh -p $SSH_PORT" /tmp/docker-compose.yml /tmp/docker-compose.deps.yml $SSH_USER@$SSH_HOST:/opt/opencrvs/infrastructure

rotate_secrets() {
Expand Down

0 comments on commit 298db77

Please sign in to comment.