Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin committed Apr 28, 2024
1 parent e16d0ca commit 84cc63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/scripts/postbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 84cc63a

Please sign in to comment.