From 51b216a4453eaf06f9a7a7c66fda36c681bc597a Mon Sep 17 00:00:00 2001 From: tradew1nd <53975884+tradew1nd@users.noreply.github.com> Date: Fri, 18 Jul 2025 11:51:45 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d6b69c5..00f9c9d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,8 +29,9 @@ jobs: username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} port: ${{ secrets.SERVER_PORT || 22 }} - source: "dist/*" + source: "dist/" target: "~/code/yys-editor" + strip_components: 1 rm: true - name: Copy to production directory