From afd2e26f9fad78a0317d5d0bd2afa36b0a15e662 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 28 Sep 2019 12:01:18 +0800 Subject: [PATCH] chore: copy file via ssh key --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ba8338..7dcb2f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,3 +17,14 @@ jobs: with: source: "tests/a.txt,tests/b.txt" target: "test" + + - name: copy file via ssh key + uses: appleboy/scp-action@master + env: + HOST: ${{ secrets.HOST }} + USERNAME: ${{ secrets.USERNAME }} + PORT: ${{ secrets.PORT }} + KEY: ${{ secrets.KEY }} + with: + source: "tests/a.txt,tests/b.txt" + target: "test"