From 73c3808c66f97e80d6dbf8971157b565faa1ebcd Mon Sep 17 00:00:00 2001 From: Collin Lefeber Date: Mon, 25 Nov 2024 16:52:46 -0500 Subject: [PATCH] cicd: rsync delete --- .forgejo/workflows/cicd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/cicd.yaml b/.forgejo/workflows/cicd.yaml index af2320e..969f690 100644 --- a/.forgejo/workflows/cicd.yaml +++ b/.forgejo/workflows/cicd.yaml @@ -20,4 +20,4 @@ jobs: run: | eval $(ssh-agent -s) ssh-add <(echo "${{ secrets.FORGE_DEPLOY_PRIVATE_KEY }}") - rsync -r -v --rsh="ssh -o StrictHostKeyChecking=no" -r ./public/ $DEPLOY_REMOTE:/home/www-cfebscom/public/ + rsync -r --delete -v --rsh="ssh -o StrictHostKeyChecking=no" -r ./public/ $DEPLOY_REMOTE:/home/www-cfebscom/public/