Skip to content

feat: PR preview deployments + tone down copy#3

Merged
a20r merged 1 commit into
mainfrom
feat/pr-previews
May 17, 2026
Merged

feat: PR preview deployments + tone down copy#3
a20r merged 1 commit into
mainfrom
feat/pr-previews

Conversation

@a20r
Copy link
Copy Markdown
Owner

@a20r a20r commented May 6, 2026

PR Previews

Two new GitHub Actions workflows:

deploy.yml — fires on push to main, deploys the site to the gh-pages branch root.

preview.yml — fires on PR open/sync/close:

  • On open or new push: deploys the PR branch to gh-pages/previews/pr-{N}/ and posts (or updates) a comment with the live URL: https://a20r.github.io/previews/pr-{N}/
  • On close: removes that subdirectory from gh-pages and cleans up

One-time setup required after merging:
Go to Settings → Pages → Source → change from "Deploy from a branch (main)" to "Deploy from a branch (gh-pages / root)". The deploy.yml workflow will create the gh-pages branch on the next push to main.

Copy edits

Removed superlatives and hype throughout:

  • Hero lead rewritten to be factual
  • About section shortened and flattened
  • Work descriptions trimmed ("intelligence layer for 21st-century", "prestigious", "algorithmic elegance", etc. removed)
  • Research card descriptions tightened

Test plan

  • Merge and verify deploy.yml runs on push to main
  • Open a test PR and verify preview.yml posts a comment with the preview URL
  • Check the preview URL loads the correct branch's index.html
  • Close the test PR and verify the preview directory is removed from gh-pages
  • Confirm Settings → Pages is pointed at gh-pages branch

https://claude.ai/code/session_01Y8g3FHp9dy1wN86ThR4hYp


Generated by Claude Code

GitHub Actions:
- deploy.yml: push to main deploys to gh-pages branch (production)
- preview.yml: PRs deploy to gh-pages/previews/pr-{N}/, bot posts URL as comment;
  on PR close the preview directory is cleaned up

Copy edits:
- Remove superlatives ("building the future of", "prestigious", "the core engine",
  "algorithmic elegance", "intelligence layer for 21st-century", etc.)
- Shorter, flatter descriptions throughout hero, about, experience, and research sections

https://claude.ai/code/session_01Y8g3FHp9dy1wN86ThR4hYp
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Preview: https://a20r.github.io/previews/pr-3/

Commit: 197db75 — updates automatically on new pushes.

@a20r a20r merged commit 8236969 into main May 17, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request May 17, 2026
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.

2 participants