fix: use strip_components to avoid nested dist
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 41s
All checks were successful
自动构建并部署Astro博客 / build-and-deploy (push) Successful in 41s
This commit is contained in:
@@ -37,7 +37,7 @@ jobs:
|
|||||||
username: ${{ secrets.SERVER_USER }}
|
username: ${{ secrets.SERVER_USER }}
|
||||||
port: ${{ secrets.SERVER_PORT }}
|
port: ${{ secrets.SERVER_PORT }}
|
||||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
source: "dist/*"
|
source: "dist/"
|
||||||
target: "/var/www/blog/"
|
target: "/var/www/blog/"
|
||||||
overwrite: true
|
overwrite: true
|
||||||
rm: true
|
strip_components: 1
|
||||||
Reference in New Issue
Block a user