fix: clean target dir before upload and change the value of source
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 43s

This commit is contained in:
2026-04-22 11:35:59 +08:00
parent d47d1ae4ef
commit 808f328fd0

View File

@@ -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
overwrite: true
rm: true