diff --git a/.gitignore b/.gitignore index 5783daf..85b87f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store .idea +.next dist node_modules diff --git a/deploy.sh b/deploy.sh index 81cbecb..00d41e9 100755 --- a/deploy.sh +++ b/deploy.sh @@ -3,6 +3,9 @@ # abort on errors set -e +# clean up previous +rm -rf dist + # build website bun run build @@ -20,7 +23,4 @@ git commit -m 'publish' # push to gh-pages branch git push https://github.com/chora-studio/www master:gh-pages -f -# clean up git -rm -rf .git - cd -