mirror of
https://gitee.com/jack_whh/ssh-scp-ssh-pipelines.git
synced 2026-03-09 22:42:55 +08:00
minor fix
This commit is contained in:
20
.github/workflows/deploy.yml
vendored
20
.github/workflows/deploy.yml
vendored
@@ -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/
|
||||
Reference in New Issue
Block a user