mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-23 23:55:09 +08:00
chore: copy file via ssh key
This commit is contained in:
parent
2ef3f5e459
commit
afd2e26f9f
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user