Skip to content

Commit

Permalink
fix script in deployvps
Browse files Browse the repository at this point in the history
  • Loading branch information
kcrg committed Nov 17, 2024
1 parent 46dc198 commit 9c9f5b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deployvps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ jobs:
strip_components: 2

- name: Restart app via SSH
uses: appleboy/ssh-action@v1.1.0
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.VPS_SSH_HOST }}
username: ${{ secrets.VPS_SSH_USERNAME2 }}
key: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
port: ${{ secrets.VPS_SSH_PORT }}
script: ssh ${{ secrets.VPS_SSH_PATH2 }} "chmod +x ~/RadioModBackend.NET; ~/radiomod.sh restart"
script: |
chmod +x ~/RadioModBackend.NET
~/radiomod.sh restart

0 comments on commit 9c9f5b9

Please sign in to comment.