init commit
This commit is contained in:
commit
7a46269eff
55 changed files with 1423 additions and 0 deletions
26
deploy.sh
Executable file
26
deploy.sh
Executable 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 -
|
||||
Loading…
Add table
Add a link
Reference in a new issue