aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-04-26 13:42:50 +0200
committerlonkaars <loek@pipeframe.xyz>2021-04-26 13:42:50 +0200
commit99fdd7fcb1542d1bd352a73b9384205418d61ce2 (patch)
tree9655492f12ab462001347e2398a16d1ec6296b53
parenteee8c9960be945bd2a962e669678e47bf7097aae (diff)
experimental install script v2
-rwxr-xr-xconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/config b/config
index 43ebcd3..0cc6101 100755
--- a/config
+++ b/config
@@ -70,8 +70,8 @@ prod() {
sed "s/CONNECT4_DEBUG=1/CONNECT4_DEBUG=0/" -i .env
npx next build
npx next export
- rm -rfv $CONNECT4_WEB_ROOT
- mv out $CONNECT4_WEB_ROOT
+ rm -rfv $CONNECT4_WEB_ROOT/*
+ mv out/* $CONNECT4_WEB_ROOT
}
if [[ -z $1 ]]; then