From 89601011b4eb6b98697df3dea0050315a8204e0b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 12 Apr 2021 17:07:44 +0200 Subject: build v3 --- scripts/build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/build b/scripts/build index 8491e0f..b9c5dd0 100755 --- a/scripts/build +++ b/scripts/build @@ -15,6 +15,12 @@ npx next build echo "-> exporting static files..." npx next export +echo "-> cleaning $web_root..." +rm -rf $web_root/* + echo "-> moving static files to $web_root..." cp -rv out/* $web_root + +echo "-> cleaning out directory..." rm -rfv out + -- cgit v1.2.3