From 808f328fd05bb73cc33f025e9b8bba1774a1f665 Mon Sep 17 00:00:00 2001 From: Marvin-March <2199363809@qq.com> Date: Wed, 22 Apr 2026 11:35:59 +0800 Subject: [PATCH] fix: clean target dir before upload and change the value of source --- .gitea/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3c7a678..5654ceb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -37,6 +37,7 @@ jobs: username: ${{ secrets.SERVER_USER }} port: ${{ secrets.SERVER_PORT }} key: ${{ secrets.SERVER_SSH_KEY }} - source: "dist/*" + source: "dist/" target: "/var/www/blog/" - overwrite: true \ No newline at end of file + overwrite: true + rm: true \ No newline at end of file