mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-22 10:25:01 +00:00
Move port number
This commit is contained in:
parent
07348570ff
commit
58a09ea1a1
1 changed files with 2 additions and 2 deletions
4
build
4
build
|
@ -322,9 +322,9 @@ task_deploy() {
|
|||
lftp_commands_filename="$(mktemp --suffix "-commands.lftp")";
|
||||
|
||||
(
|
||||
echo "set sftp:connect-program 'ssh -x -i \"${SSH_KEY_PATH}\" -p \"${deploy_ssh_port}\" -o \"PasswordAuthentication=no\"'";
|
||||
echo "set sftp:connect-program 'ssh -x -i \"${SSH_KEY_PATH}\" -o \"PasswordAuthentication=no\"'";
|
||||
# We have an extra : before the @ here to avoid the password prompt
|
||||
echo "connect sftp://${deploy_ssh_user}:@${deploy_ssh_host}";
|
||||
echo "connect sftp://${deploy_ssh_user}:@${deploy_ssh_host}:${deploy_ssh_port}";
|
||||
|
||||
echo "mirror -R -P 3 -r \"${source_upload_dir}\" \"${deploy_root_dir}/www-new\"";
|
||||
echo "ln -s \"${deploy_root_dir}/data\" \"${deploy_root_dir}/www-new/data\"";
|
||||
|
|
Loading…
Reference in a new issue