mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-08 13:45:01 +02:00
🚀 feat(_new): new website ui and function
This commit is contained in:
26
deploy.sh
Normal file
26
deploy.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# abort on errors
|
||||
set -e
|
||||
|
||||
# build
|
||||
npm run build
|
||||
|
||||
# navigate into the build output directory
|
||||
cd dist
|
||||
|
||||
# place .nojekyll to bypass Jekyll processing
|
||||
echo > .nojekyll
|
||||
|
||||
# if you are deploying to a custom domain
|
||||
# echo 'www.example.com' > CNAME
|
||||
|
||||
git init
|
||||
git checkout -B main
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||
git push -f git@github.com:<USERNAME>/snigdha-os.git main:gh-pages
|
||||
|
||||
cd -
|
Reference in New Issue
Block a user