mirror of
https://github.com/appleboy/ssh-action.git
synced 2025-08-10 02:22:13 +00:00
16 lines
389 B
YAML
16 lines
389 B
YAML
name: Remote SSH Command
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Execute remote SSH commands using password
|
|
uses: appleboy/ssh-action@v1
|
|
with:
|
|
host: ${{ secrets.HOST }}
|
|
username: linuxserver.io
|
|
password: ${{ secrets.PASSWORD }}
|
|
port: ${{ secrets.PORT }}
|
|
script: whoami
|