mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
build: small formatting tweaks
...this is a dummy commit
This commit is contained in:
parent
b6f475ea84
commit
f779d6e3af
1 changed files with 2 additions and 1 deletions
3
build
3
build
|
@ -292,6 +292,7 @@ task_deploy() {
|
||||||
stage_end 1;
|
stage_end 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
task_begin "Preparing upload";
|
task_begin "Preparing upload";
|
||||||
|
|
||||||
subtask_begin "Creating temporary directory";
|
subtask_begin "Creating temporary directory";
|
||||||
|
@ -309,7 +310,6 @@ task_deploy() {
|
||||||
|
|
||||||
|
|
||||||
task_begin "Uploading release";
|
task_begin "Uploading release";
|
||||||
|
|
||||||
# Acquire an exclusive project-wide lock so that we only upload stuff one-at-a-time
|
# Acquire an exclusive project-wide lock so that we only upload stuff one-at-a-time
|
||||||
exec 9<"${WORKSPACE}";
|
exec 9<"${WORKSPACE}";
|
||||||
flock --exclusive 9;
|
flock --exclusive 9;
|
||||||
|
@ -348,6 +348,7 @@ task_deploy() {
|
||||||
execute rm -r "${temp_dir}";
|
execute rm -r "${temp_dir}";
|
||||||
task_end $?;
|
task_end $?;
|
||||||
|
|
||||||
|
|
||||||
stage_end $? "Failed to deploy to ${deploy_ssh_host}.";
|
stage_end $? "Failed to deploy to ${deploy_ssh_host}.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue