limit action to master pr's and move script to file
Some checks are pending
remote ssh command / Build (push) Waiting to run
Some checks are pending
remote ssh command / Build (push) Waiting to run
This commit is contained in:
parent
183b1b689c
commit
c2e0cf3e2d
17
action.yaml
Normal file
17
action.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
name: remote ssh command
|
||||
on:
|
||||
pull_request:
|
||||
branches: master
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@v1.2.1
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: linuxserver.io
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script_path: scripts/update_servers.sh
|
||||
1
scripts/update_servers.sh
Normal file
1
scripts/update_servers.sh
Normal file
@ -0,0 +1 @@
|
||||
whoami
|
||||
Loading…
Reference in New Issue
Block a user