add action workflow
This commit is contained in:
parent
0ef229944d
commit
73fc7e1997
15
action.yaml
Normal file
15
action.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
name: remote ssh command
|
||||
on: [push]
|
||||
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: whoami
|
||||
Loading…
Reference in New Issue
Block a user