- In
package.json
, ensure thathomepage
is set to the domain that this page will serve from. If you use a custom domain for GitHub pages, you should use that here. - In
vite.config.ts
, ensure thatbase
is set to name of your repo.
- Run
npm run deploy
. The code to deploy will be pushed to thegh-pages
branch in your repo.