typo in sftp host env var

This commit is contained in:
Sebastian Hugentobler 2023-12-31 16:36:42 +01:00
parent d3bb57111c
commit 240863647f
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,4 +1,4 @@
#!/bin/sh
set -e
set -ex
lftp -e "set sftp:auto-confirm yes; open -p $INPUT_SFTP_PORT -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $SFTP_INPUT_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"