Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ echo > .nojekyll
# echo 'www.example.com' > CNAME

git init
git checkout -B master
git checkout -B main
git add -A
git commit -m 'deploy'

# if you are deploying to https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git main

# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:Certsoftt/faztar.git master:gh-pages
git push -f git@github.com:Certsoftt/brower-code-editor.git main:gh-pages

cd -
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"code editor"
],
"description": "A browser-code editor that will serve the purpose writing code, cleaning and fixing noisy code, build, edit and deploy web pages",
"homepage": "https://github.com/certsoftt/brower-code-editor",
"homepage": "https://certsoftt.github.io/brower-code-editor",
"repository": {
"type": "git",
"url": "https://github.com/certsoftt/brower-code-editor.git"
Expand Down Expand Up @@ -44,7 +44,9 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"preview": "vite preview",
"prepare": "husky"
"prepare": "husky",
"predeploy":"npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
Expand Down