From a86e88e08775f5faba3d66fc60b2c667b69bce76 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Mon, 30 Sep 2024 01:21:48 +0300 Subject: [PATCH] ci: delete other files --- .gitea/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 29c66a5..2db8b6f 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -41,5 +41,5 @@ jobs: ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts sudo apt update sudo apt install rsync -y - rsync -avr -p --chmod=770 --no-times ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR + rsync -avr -p --chmod=770 --no-times --delete ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR ssh $SSH_USER@$SSH_HOST "sudo chown -R :www-data $TARGET_DIR"