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:4321
Simulate deploy locally:
yarn preview # http://localhost:4321
Then actually deploy:
# 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 (modified) commit to the main
branch and the gh-pages
branch. GitHub pages should be set up to use the /docs
sub-folder of the gh-pages
branch.
/src/pages/index.astro