chore: initial github actions

This commit is contained in:
Bo-Yi Wu 2019-09-29 10:43:33 +08:00
parent b305709c8d
commit 215a0580d7
2 changed files with 17 additions and 45 deletions

17
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: ssh command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: executing remote ssh commands
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: whoami