diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..f0d8a30 --- /dev/null +++ b/action.yaml @@ -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 diff --git a/scripts/update_servers.sh b/scripts/update_servers.sh new file mode 100644 index 0000000..5c0132d --- /dev/null +++ b/scripts/update_servers.sh @@ -0,0 +1 @@ +whoami