- Install dependencies:
yarn install
- Start the local dev server:
yarn dev
- Open http://localhost:3000 and verify the relevant pages.
- Blog posts live in
content/posts. - Projects live in
content/projects. - Tech gallery entries live in
content/tech-gallery. - Shared pages live in
content/pages.
Each entry is sourced directly by the Next app during build. There is no separate generated blog/ publishing step anymore.
To validate the same static export that GitHub Pages will deploy:
- Build the site:
yarn build
- Preview the generated output:
npx serve out -l 4000
The repository deploys via .github/workflows/deploy-gh-pages.yml.
- In GitHub repo settings, configure Pages to use GitHub Actions as the source.
- Commit your source changes to the
production-pagesbranch. - Push that branch to GitHub.
- The workflow will install dependencies, run
yarn build, uploadout/, and deploy it to GitHub Pages.
- Deployed site URL: https://justinlinkk.github.io/
- Do not commit
.next/,out/, or legacy generated site folders.