mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
build: fix lftp connect-program
This commit is contained in:
parent
2f759b56d1
commit
9bd70b2356
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -321,7 +321,7 @@ task_deploy() {
|
||||||
# 4. Swap in new directory
|
# 4. Swap in new directory
|
||||||
# 5. Delete old directory
|
# 5. Delete old directory
|
||||||
lftp << SFTPCOMMANDS
|
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};
|
connect sftp://${deploy_ssh_user}:@${deploy_ssh_host};
|
||||||
|
|
||||||
mirror -R -P 3 -r ${source_upload_dir}/* "${deploy_root_dir}/www-new";
|
mirror -R -P 3 -r ${source_upload_dir}/* "${deploy_root_dir}/www-new";
|
||||||
|
|
Loading…
Reference in a new issue