print envs

This commit is contained in:
Sebastian Hugentobler 2023-12-31 16:55:57 +01:00
parent 240863647f
commit 99ea5ce3ea
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
set -ex set -e
printenv
lftp -e "set sftp:auto-confirm yes; open -p $INPUT_SFTP_PORT -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $INPUT_SFTP_HOST; mirror -v --no-perms --delete --reverse $INPUT_SOURCE $INPUT_DESTINATION; quit" lftp -e "set sftp:auto-confirm yes; open -p $INPUT_SFTP_PORT -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $INPUT_SFTP_HOST; mirror -v --no-perms --delete --reverse $INPUT_SOURCE $INPUT_DESTINATION; quit"