We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17dcac2 commit 47a82eaCopy full SHA for 47a82ea
1 file changed
.github/workflows/deploy.yml
@@ -41,14 +41,15 @@ jobs:
41
42
# 设置 restart.sh 权限
43
- name: Set permissions for restart.sh
44
- uses: appleboy/scp-action@v0.1.7
+ uses: appleboy/ssh-action@v1.1.0
45
with:
46
host: ${{ secrets.SERVER_HOST }}
47
username: ${{ secrets.SERVER_USER }}
48
port: ${{ secrets.SERVER_PORT }}
49
key: ${{ secrets.SERVER_SSH_KEY }}
50
script: |
51
chmod 755 ${{ secrets.SERVER_PROJECT_PATH }}restart.sh
52
+
53
# 调用服务器的 restart.sh 重启项目
54
- name: Restart Spring Boot app
55
uses: appleboy/ssh-action@v1.1.0
0 commit comments