Skip to content

joaovbrandon/joaovbrandon.com

Repository files navigation

joaovbrandon.com

My personal website :)

See here joaovbrandon.com

Stack

  • TypeScript
  • Next.js
  • next-export-i18n
  • Styled-Components
  • react-icons
  • nprogress

I also used some dev tools, to help improve code pattern:

  • commitlint & commitizen
  • ESLint
  • Prettier
  • Husky
  • lint-staged
  • GitHub Actions

Development

You need Node.js 16.x.x and Yarn (or use NPM) to run it.

Deploy

  • Change the version in the package.json
  • Commit to the develop branch: chore: bump version to x.x.x
  • Create a tag of the version git tag -a x.x.x -m 'vx.x.x'
  • Checkout to the main branch
  • Reset to the created tag git reset --hard x.x.x
  • Push to the main branch
  • The deploy pipeline will run and deploy the new version to joaovbrandon.com

Deploy Pipeline

The deploy pipeline build the app and use next export to export static files, then deploy the exported files to GitHub pages.