fix deploy
This commit is contained in:
parent
c5a99d9522
commit
7a386f5c14
3 changed files with 10 additions and 7 deletions
14
deploy.sh
14
deploy.sh
|
|
@ -12,15 +12,17 @@ bun run build
|
|||
# change to build directory
|
||||
cd dist
|
||||
|
||||
# create .nojekyll file
|
||||
touch .nojekyll
|
||||
|
||||
# git init and commit
|
||||
# git init
|
||||
git init
|
||||
|
||||
# git remote (required for .gitconfig)
|
||||
git remote add origin git@codeberg.org:ryanchristo/website.git
|
||||
|
||||
# git commit
|
||||
git add -A
|
||||
git commit -m 'publish'
|
||||
|
||||
# push to gh-pages branch
|
||||
git push https://github.com/ryanchristo/website master:gh-pages -f
|
||||
# push to pages branch
|
||||
git push origin main:pages -f
|
||||
|
||||
cd -
|
||||
|
|
|
|||
2
public/.domains
Normal file
2
public/.domains
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ryanchristo.com
|
||||
www.ryanchristo.com
|
||||
|
|
@ -1 +0,0 @@
|
|||
ryanchristo.com
|
||||
Loading…
Add table
Add a link
Reference in a new issue