Skip to content

Commit

Permalink
Get service status after redeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelclapham authored Sep 7, 2024
1 parent 3f64b31 commit ade05a0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,12 @@ jobs:
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: sudo /usr/bin/systemctl restart qrsync_server

- name: Get service status
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: /usr/bin/systemctl status qrsync_server

0 comments on commit ade05a0

Please sign in to comment.