This commit is contained in:
2024-11-12 23:50:31 +01:00
parent 19c2649655
commit 1bc4f3bd89
3 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
name: remote ssh command
on: [release]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: 22
script: /home/ubuntu/bin/restart-forge