build: Explicitly use blog in mirror command call

This commit is contained in:
Starbeamrainbowlabs 2019-04-07 17:14:01 +01:00
parent 48076d3c9b
commit 2894ae9141
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

2
build
View file

@ -324,7 +324,7 @@ task_deploy() {
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";
glob mirror -R -P 3 -r ${source_upload_dir}/* "${deploy_root_dir}/www-new";
ln -s "${deploy_root_dir}/data" "${deploy_root_dir}/www-new/data";
mv "${deploy_root_dir}/www" "${deploy_root_dir}/www-old";