From 84cc63a246501aec57344a31a90a8a1b4af0d782 Mon Sep 17 00:00:00 2001 From: jiyuujin Date: Sun, 28 Apr 2024 21:39:56 +0900 Subject: [PATCH] fix: path --- apps/web/scripts/postbuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/scripts/postbuild.sh b/apps/web/scripts/postbuild.sh index 6ef9f9d3..76223827 100755 --- a/apps/web/scripts/postbuild.sh +++ b/apps/web/scripts/postbuild.sh @@ -4,13 +4,13 @@ # change dir structure # ./dist/{html} -> ./dist/2024/{html} # -if [ ! -d "./.nuxt/dist" ]; then +if [ ! -d "./dist" ]; then echo "can not find dist" exit 1; fi mkdir ./tmp -mv ./.nuxt/dist/* ./tmp +mv ./dist/* ./tmp mkdir ./dist/2024 mv ./tmp/* ./dist/2024 rm -rf ./tmp \ No newline at end of file