init commit

This commit is contained in:
ryanchristo 2023-10-28 09:56:18 -07:00
commit 7a46269eff
55 changed files with 1423 additions and 0 deletions

26
deploy.sh Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env sh
# abort on errors
set -e
# build website
bun run build
# add CNAME file
echo 'chora.studio' >> dist/CNAME
# change to build directory
cd dist
# git init and commit
git init
git add -A
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 -