chore: copy file via ssh key
This commit is contained in:
parent
2ef3f5e459
commit
afd2e26f9f
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -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…
Reference in a new issue