chore: copy file via ssh key

This commit is contained in:
Bo-Yi Wu 2019-09-28 12:01:18 +08:00
parent 2ef3f5e459
commit afd2e26f9f

View File

@ -17,3 +17,14 @@ jobs:
with: with:
source: "tests/a.txt,tests/b.txt" source: "tests/a.txt,tests/b.txt"
target: "test" 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"