debug show env
This commit is contained in:
parent
28fd72d66e
commit
753d6d156e
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh -l
|
||||||
|
env
|
||||||
mkdir -p ~/.ssh/
|
mkdir -p ~/.ssh/
|
||||||
|
|
||||||
# Print the SSH key, replacing newline characters with actual new lines
|
# Print the SSH key, replacing newline characters with actual new lines
|
||||||
|
@ -10,6 +12,6 @@ chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H $INPUT_REMOTE_HOST >> ~/.ssh/known_hosts
|
ssh-keyscan -H $INPUT_REMOTE_HOST >> ~/.ssh/known_hosts
|
||||||
|
|
||||||
# SCP files to the remote host
|
# SCP files to the remote host
|
||||||
rsync ${INPUT_RSYNC_PARAMETERS} public/ ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH}
|
#rsync ${INPUT_RSYNC_PARAMETERS} public/ ${INPUT_REMOTE_USER}@${INPUT_REMOTE_HOST}:${INPUT_REMOTE_PATH}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue