force-create beta symlink in lftp

This commit is contained in:
Starbeamrainbowlabs 2020-05-21 21:06:13 +01:00
parent f19ada9715
commit 5fa8f25fba
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

1
build
View file

@ -377,6 +377,7 @@ SFTPCOMMANDS
echo "connect sftp://${deploy_ssh_user}:@${deploy_ssh_host}:${deploy_ssh_port}"; echo "connect sftp://${deploy_ssh_user}:@${deploy_ssh_host}:${deploy_ssh_port}";
echo "ln -s \"../data\" \"${deploy_root_dir}/www-new/data\""; echo "ln -s \"../data\" \"${deploy_root_dir}/www-new/data\"";
echo "ln -s \"../../Air-Quality-Web-Beta/www/\" \"${deploy_root_dir}/www-new/beta\"";
echo "mv \"${deploy_root_dir}/www\" \"${deploy_root_dir}/www-old\""; echo "mv \"${deploy_root_dir}/www\" \"${deploy_root_dir}/www-old\"";
echo "mv \"${deploy_root_dir}/www-new\" \"${deploy_root_dir}/www\""; echo "mv \"${deploy_root_dir}/www-new\" \"${deploy_root_dir}/www\"";