From 95e250284bb1094f9800e7a8ebff1b78789868cb Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 29 Sep 2019 14:16:22 +0800 Subject: [PATCH] docs: update readme --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9362828..2ba3346 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,24 @@ copy files and artifacts via SSH as blow. ```yaml -- name: copy file via ssh password - uses: appleboy/scp-action@master - with: - host: ${{ secrets.HOST }} - username: ${{ secrets.USERNAME }} - password: ${{ secrets.PASSWORD }} - port: ${{ secrets.PORT }} - source: "tests/a.txt,tests/b.txt" - target: "test" +name: scp files +on: [push] +jobs: + + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: copy file via ssh password + uses: appleboy/scp-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + source: "tests/a.txt,tests/b.txt" + target: "test" ``` ## Input variables