minor fix

This commit is contained in:
Nguyen Huu Thuong
2020-06-12 02:15:35 +02:00
parent 04da671cb9
commit 22eaf5fdb4
2 changed files with 20 additions and 20 deletions

View File

@@ -16,10 +16,10 @@ jobs:
WELCOME: "ssh scp ssh pipelines"
LASTSSH: "Doing something after copying"
with:
host: {{ secrets.DC_HOST }}
user: {{ secrets.DC_USER }}
pass: {{ secrets.DC_PASS }}
port: {{ secrets.DC_PORT }}
host: ${{ secrets.DC_HOST }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
port: ${{ secrets.DC_PORT }}
connect_timeout: 10s
first_ssh: |
rm -rf /home/github/test
@@ -40,9 +40,9 @@ jobs:
env:
WELCOME: "scp ssh pipelines"
with:
host: {{ secrets.DC_HOST }}
user: {{ secrets.DC_USER }}
pass: {{ secrets.DC_PASS }}
host: ${{ secrets.DC_HOST }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
scp: |
./test/test1* => /home/github/test/test1/
./test/test*.csv => "/home/github/test/test2/"
@@ -55,8 +55,8 @@ jobs:
env:
WELCOME: "scp pipelines"
with:
host: {{ secrets.DC_HOST }}
user: {{ secrets.DC_USER }}
pass: {{ secrets.DC_PASS }}
host: ${{ secrets.DC_HOST }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_PASS }}
scp: |
'./test/*' => /home/github/test/