Skip to content
Permalink
Browse files

build: fix lftp connect-program

  • Loading branch information...
sbrl committed Apr 7, 2019
1 parent 2f759b5 commit 9bd70b235673a33b616bd3a814a7bd55d8503926
Showing with 1 addition and 1 deletion.
  1. +1 −1 build
2 build
@@ -321,7 +321,7 @@ task_deploy() {
# 4. Swap in new directory
# 5. Delete old directory
lftp << SFTPCOMMANDS
set connect-program 'ssh -x -i "${SSH_KEY_PATH}" -P "${deploy_ssh_port}" -o "PasswordAuthentication=no"';
set sftp:connect-program 'ssh -x -i "${SSH_KEY_PATH}" -p ${deploy_ssh_port} -o "PasswordAuthentication=no"';
connect sftp://${deploy_ssh_user}:@${deploy_ssh_host};
mirror -R -P 3 -r ${source_upload_dir}/* "${deploy_root_dir}/www-new";

0 comments on commit 9bd70b2

Please sign in to comment.
You can’t perform that action at this time.