From 4fcafc6c9c0975d9b4168ee1d751aba8c5508ee8 Mon Sep 17 00:00:00 2001 From: shiyu Date: Mon, 9 Jun 2025 21:14:55 +0800 Subject: [PATCH] feat(docs): update deployment configuration for documentation upload --- .github/workflows/docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 07c9c1a..702c642 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -46,5 +46,6 @@ jobs: username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_SSH_KEY }} passphrase: ${{ secrets.SSH_PASSPHRASE }} - source: "Docs/.vitepress/dist/*" - target: "/opt/1panel/www/sites/foxel.cc/index" \ No newline at end of file + source: "Docs/.vitepress/dist/." + target: "/opt/1panel/www/sites/foxel.cc/index" + strip_components: 1 \ No newline at end of file