Generated with Astro.
yarn # or npm i
(Don't have yarn
? Try installing yarn
and try again. Or try replacing yarn
with the npm
equivalents.)
yarn dev # http://localhost:3000
# make sure you're in the main branch before you run this!
git pull
yarn deploy # https://hchiam.surge.sh and https://hchiam.com
You need to be in the main
branch. This command should deploy and update the hchiam.com site. It should push a commit to the main
branch, and then in the main
branch run yarn deploy:gh-pages
to update the gh-pages
branch, which will deploy the the hchiam.com site.
Note for .gitignore
:
# dist # comment out so this works: git subtree push --prefix dist origin gh-pages
/src/pages/index.astro