limit action to master pr's and move script to file
Some checks are pending
remote ssh command / Build (push) Waiting to run

This commit is contained in:
themodernhakr 2025-02-26 13:24:27 -06:00
parent 183b1b689c
commit c2e0cf3e2d
2 changed files with 18 additions and 0 deletions

17
action.yaml Normal file
View 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

View File

@ -0,0 +1 @@
whoami