chore: clean up deploy script by removing commented sections and improving clarity

This commit is contained in:
Dan Dobos
2025-10-17 11:26:13 +02:00
parent 603def1a44
commit e13571fe70
+6 -10
View File
@@ -9,16 +9,12 @@ npm run build
# navigate into the build output directory
cd dist
# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME
# create a fresh repo in dist and push to gh-pages
git init
git checkout -b gh-pages
git add -A
git commit -m 'deploy'
git commit -m 'deploy' || true
git remote add origin git@github.com:dadobos/worldcountries.git
git push -f origin gh-pages
# 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:dadobos/worldcountries.git main:gh-pages
# git push -f git@github.com:<USERNAME>/world.git main:gh-pages
cd -