Fix deploy configuration

This commit is contained in:
Alexey Andreev 2019-03-25 13:48:15 +03:00
parent 0a283843ea
commit 4086aebc7b

View File

@ -2,9 +2,8 @@
echo "${SSH_KEY}" | base64 --decode >/tmp/sftp_rsa
chmod 0700 /tmp/sftp_rsa
SCP=scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT
SCP_TARGET=$FTP_USER@$FTP_HOST:~/$FTP_PATH
scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT ./*
SCP="scp -o 'StrictHostKeyChecking no' -i /tmp/sftp_rsa -B -r -P $FTP_PORT"
SCP_TARGET="$FTP_USER@$FTP_HOST:~/$FTP_PATH"
#
# Upload CLI