squash commit
This commit is contained in:
commit
c5a99d9522
53 changed files with 1734 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
|
||||
|
||||
# clean up previous
|
||||
rm -rf dist
|
||||
|
||||
# build website
|
||||
bun run build
|
||||
|
||||
# change to build directory
|
||||
cd dist
|
||||
|
||||
# create .nojekyll file
|
||||
touch .nojekyll
|
||||
|
||||
# git init and commit
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'publish'
|
||||
|
||||
# push to gh-pages branch
|
||||
git push https://github.com/ryanchristo/website master:gh-pages -f
|
||||
|
||||
cd -
|
||||
Loading…
Add table
Add a link
Reference in a new issue