mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
build: Dereference when unpacking for deployment
This commit is contained in:
parent
58c7914568
commit
356410620a
1 changed files with 1 additions and 1 deletions
2
build
2
build
|
@ -312,7 +312,7 @@ task_deploy() {
|
||||||
subtask_end $? "Error: Failed to create temporary directory";
|
subtask_end $? "Error: Failed to create temporary directory";
|
||||||
|
|
||||||
subtask_begin "Unpacking release files";
|
subtask_begin "Unpacking release files";
|
||||||
execute tar -xf "${ARCHIVE}/Air-Quality-Web.tar.gz" -C "${temp_dir}";
|
execute tar -hxf "${ARCHIVE}/Air-Quality-Web.tar.gz" -C "${temp_dir}";
|
||||||
subtask_end $? "Failed to unpack release files";
|
subtask_end $? "Failed to unpack release files";
|
||||||
rm -r "${temp_dir}/data"; # Delete the default data directory - there's one on the server already
|
rm -r "${temp_dir}/data"; # Delete the default data directory - there's one on the server already
|
||||||
# Define the directory whose contents we want to upload
|
# Define the directory whose contents we want to upload
|
||||||
|
|
Loading…
Reference in a new issue