Skip to content

ci: deploy website to GitHub Pages#26

Merged
aanogueira merged 1 commit into
mainfrom
andre.nogueira/deploy-website-github-pages
May 25, 2026
Merged

ci: deploy website to GitHub Pages#26
aanogueira merged 1 commit into
mainfrom
andre.nogueira/deploy-website-github-pages

Conversation

@aanogueira
Copy link
Copy Markdown
Contributor

@aanogueira aanogueira commented May 25, 2026

Summary

  • New workflow .github/workflows/deploy-website.yml that builds the Astro/Starlight site with bun (including pagefind) and publishes to GitHub Pages on every push to main touching website/**
  • website/public/CNAME pinning the custom domain code-search.techquests.dev into the deploy artifact

Pre-merge requirements (already done / TODO)

  • Repo Settings → Pages → Source = GitHub Actions
  • DNS at techquests.dev: code-search CNAME techquestsdev.github.io.
  • After first deploy + DNS propagation, enable "Enforce HTTPS" in Settings → Pages

Notes

  • website/public/demo.mp4 is ~98MB — under the 100MB GH Pages per-file cap but with no headroom; if it grows or another large asset lands, the deploy will fail. Worth moving to external hosting eventually.
  • This adds a second deployment target alongside the existing docker/website.Dockerfile + Caddy setup. Retiring the Docker website (and its Helm chart) is a follow-up if Pages becomes the canonical host.

Test plan

  • Merge PR, watch the Deploy Website workflow succeed
  • Confirm artifact contains CNAME and pagefind index (_pagefind/)
  • Once DNS is set, browse to https://code-search.techquests.dev/ and verify pages + search work

Adds a workflow that builds the Astro/Starlight site with bun (including
pagefind) and deploys it to GitHub Pages. A CNAME file pins the custom
domain code-search.techquests.dev so the deploy artifact preserves it
across runs.

Signed-off-by: Andre Nogueira <aanogueira@protonmail.com>
@aanogueira aanogueira merged commit 13b0c7d into main May 25, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant