workflo 3
This commit is contained in:
parent
59716ec8f5
commit
fedc01f8f0
1 changed files with 7 additions and 0 deletions
|
@ -6,3 +6,10 @@ jobs:
|
||||||
name: "Restart server"
|
name: "Restart server"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Restart the server
|
||||||
|
uses: https://git.incest.world/actions/ssh-action
|
||||||
|
with:
|
||||||
|
host: ${{ vars.SSH_SERVER }}
|
||||||
|
username: ${{ secrets.SSH_USER }}
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
script: ${{ vars.RESTART_COMMAND }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue