Personal portfolio site built with React + Vite, hosted on GitHub Pages.
npm install
npm run devStatic files are built into the docs/ folder (GitHub Pages publishing source).
npm run deploy
git add docs/
git commit -m "Update site build"
git push origin mainIn the repository Settings → Pages:
- Source: Deploy from a branch
- Branch:
main - Folder:
/docs
Site URL: https://yhuagan.github.io/
Changes may take a few minutes to appear after push.