fix: clean target dir before upload and change the value of source
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 43s
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 43s
This commit is contained in:
@@ -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
|
||||
rm: true
|
||||
Reference in New Issue
Block a user