mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Delete the cache when deploying a new version
This commit is contained in:
parent
b2a42729c0
commit
31bf42fb2e
1 changed files with 1 additions and 0 deletions
1
build
1
build
|
@ -363,6 +363,7 @@ SFTPCOMMANDS
|
||||||
|
|
||||||
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\"";
|
||||||
|
echo "rm -r \"../data/cache\"";
|
||||||
echo "rm -r \"${deploy_root_dir}/www-old\"";
|
echo "rm -r \"${deploy_root_dir}/www-old\"";
|
||||||
echo "bye";
|
echo "bye";
|
||||||
) >"${lftp_commands_filename}";
|
) >"${lftp_commands_filename}";
|
||||||
|
|
Loading…
Reference in a new issue