fix deploy errors

This commit is contained in:
2025-07-18 10:50:32 +08:00
parent ea8c4e379e
commit 82fe08b092

View File

@@ -23,7 +23,7 @@ jobs:
npm run build npm run build
- name: Deploy to server via SSH - name: Deploy to server via SSH
uses: appleboy/scp-action@v0.1.6 uses: appleboy/scp-action@v1.0.0
with: with:
host: ${{ secrets.SERVER_HOST }} host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }} username: ${{ secrets.SERVER_USERNAME }}
@@ -32,3 +32,5 @@ jobs:
source: "dist/*" source: "dist/*"
target: "/var/www/html/yys-editor" target: "/var/www/html/yys-editor"
rm: true rm: true
debug: true
capture_stdout: true