chore: copy file via ssh key

master
Bo-Yi Wu 5 years ago
parent 2ef3f5e459
commit afd2e26f9f

@ -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"

Loading…
Cancel
Save