Skip to content

Commit

Permalink
ci: 启用 ssh-action 的调试输出
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Sep 5, 2023
1 parent aef5684 commit 6811c1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,15 @@ jobs:
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: Deploy to server
uses: appleboy/ssh-action@1d1b21ca96111b1eb4c03c21c14ebb971d2200f6
uses: appleboy/ssh-action@55dabf81b49d4120609345970c91507e2d734799
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script_stop: true
script: sudo ${{ secrets.COOLQBOT_ROOT }}/deploy.sh
debug: true

deploy_prod:
name: Deploy Prod
Expand All @@ -116,7 +117,7 @@ jobs:
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
steps:
- name: Deploy to server
uses: appleboy/ssh-action@1d1b21ca96111b1eb4c03c21c14ebb971d2200f6
uses: appleboy/ssh-action@55dabf81b49d4120609345970c91507e2d734799
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
Expand Down

0 comments on commit 6811c1b

Please sign in to comment.