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