key string to file obj

This commit is contained in:
Nguyen Huu Thuong
2020-08-15 15:07:23 +02:00
parent 6c3c55657b
commit 06a4030088
2 changed files with 20 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ jobs:
uses: cross-the-world/scp-pipeline@master
with:
host: ${{ secrets.DC_HOST }}
port: ${{ secrets.DC_PORT }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
local: "./test/test1*"
@@ -45,7 +46,20 @@ jobs:
TO_DIR: /home/github/test/test3/
with:
host: ${{ secrets.DC_HOST }}
port: ${{ secrets.DC_PORT }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
local: "."
remote: $TO_DIR
- name: local remote scp 3
uses: cross-the-world/scp-pipeline@master
env:
TO_DIR: /home/github/test/test3/
with:
host: ${{ secrets.DC_HOST }}
port: ${{ secrets.DC_PORT }}
user: ${{ secrets.DC_USER }}
key: ${{ secrets.DC_KEY }}
local: "."
remote: $TO_DIR