ssh/.github/workflows/ci.yml

18 lines
410 B
YAML
Raw Normal View History

2019-09-29 04:45:29 +02:00
name: remote ssh command
2019-09-29 04:43:33 +02:00
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: executing remote ssh commands
2019-09-29 04:46:23 +02:00
uses: appleboy/ssh-action@master
2019-09-29 04:43:33 +02:00
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami