1
0
mirror of https://github.com/appleboy/ssh-action.git synced 2025-05-11 06:12:48 +08:00
ssh-action/.github/workflows/ci.yml
2021-02-11 08:29:54 +00:00

19 lines
407 B
YAML

name: remote ssh command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: executing remote ssh commands using ssh key
uses: ./
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: whoami