Thulasi Reddy

Deploying thulasireddy.com

The site is published by GitHub Pages from the thulasi402/thulasi402.github.io repository.

How a deployment happens

  1. A commit is pushed to main.
  2. The workflow in .github/workflows/deploy.yml runs: it installs dependencies with npm ci on Node.js 22, runs npm run build, and uploads the out/ folder.
  3. GitHub Pages publishes that folder. The run appears under the repository’s Actions tab, and the site is live a minute or two after it turns green.

The workflow can also be started by hand: Actions > Deploy to GitHub Pages > Run workflow.

Because every push to main goes live, check changes locally first (npm run lint, npx tsc --noEmit, npm run build).

One-time setup

1. GitHub Pages

In the repository, open Settings > Pages:

The custom domain has to be set here. public/CNAME is kept in the repository as a record of the domain, but GitHub ignores that file when a site is deployed by GitHub Actions.

Until the custom domain is connected, the site is reachable at https://thulasi402.github.io.

2. DNS

The domain’s nameservers are Cloudflare’s, so these records are managed in the Cloudflare dashboard under DNS > Records. Remove any existing A, AAAA, or CNAME records for thulasireddy.com and www first (for example a registrar parking record), then add:

Type Name Value Proxy status
A @ 185.199.108.153 DNS only
A @ 185.199.109.153 DNS only
A @ 185.199.110.153 DNS only
A @ 185.199.111.153 DNS only
AAAA @ 2606:50c0:8000::153 DNS only
AAAA @ 2606:50c0:8001::153 DNS only
AAAA @ 2606:50c0:8002::153 DNS only
AAAA @ 2606:50c0:8003::153 DNS only
CNAME www thulasi402.github.io DNS only

The AAAA records are optional; they add IPv6.

Keep the proxy status on DNS only (grey cloud). With the Cloudflare proxy switched on, GitHub cannot verify the domain or issue its certificate, and visitors get Cloudflare error 525 or 526.

Under your GitHub account’s Settings > Pages, add thulasireddy.com as a verified domain and create the TXT record GitHub shows you. This stops anyone else from attaching the domain to their own Pages site.

Checking a deployment

# DNS: should list the four 185.199.x.153 addresses
nslookup thulasireddy.com

# The site: should print HTTP 200
curl -I https://thulasireddy.com

# www should redirect to the apex domain
curl -I https://www.thulasireddy.com

Then open the site and check:

Launch checklist

Troubleshooting

Symptom Likely cause
Cloudflare error 525 or 526 Proxy status is Proxied, or the records still point somewhere other than GitHub Pages.
A parking page, or a redirect to /lander The registrar’s parking record is still in place. Replace it with the records above.
GitHub’s “There isn’t a GitHub Pages site here” DNS is correct but the custom domain is not saved under Settings > Pages.
“Enforce HTTPS” is greyed out The certificate is not issued yet. Wait, or remove and re-save the custom domain.
The Actions run fails at “Install dependencies” package.json and package-lock.json are out of step. Run npm install and commit both.
The Actions run fails at “Build” Run npm run build locally; it prints the same error.
The site deploys but looks unchanged Hard-refresh the page. Pages are cached for about ten minutes.