Skip to content

Commit 9384e64

Browse files
committed
fix: 修正前端资源上传路径,使用通配符和strip_components
1 parent 5bca284 commit 9384e64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ jobs:
7878
port: ${{ secrets.SERVER_PORT }}
7979
username: ${{ secrets.SERVER_USER }}
8080
key: ${{ secrets.SERVER_SSH_KEY }}
81-
source: "web/dist/"
82-
target: "/opt/TinyFlow/web/"
81+
source: "web/dist/*"
82+
target: "/opt/TinyFlow/web/dist/"
83+
strip_components: 2
8384
overwrite: true
8485

8586
# 9. 重启服务

0 commit comments

Comments
 (0)