From cf7c859d550f5f087f8a7ab5c85032fc70360e1b Mon Sep 17 00:00:00 2001 From: Marvin-March <2199363809@qq.com> Date: Wed, 22 Apr 2026 12:18:51 +0800 Subject: [PATCH] fix: use strip_components to avoid nested dist --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 5ceb0d0..75b58b4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -37,7 +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 - rm: true \ No newline at end of file + strip_components: 1 \ No newline at end of file