Skip to content

Fix Pages outage: add CNAME and bump deprecated workflow actions - #27

Merged
kasperg3 merged 2 commits into
mainfrom
claude/github-pages-down-Zg2F3
May 22, 2026
Merged

Fix Pages outage: add CNAME and bump deprecated workflow actions#27
kasperg3 merged 2 commits into
mainfrom
claude/github-pages-down-Zg2F3

Conversation

@kasperg3

Copy link
Copy Markdown
Owner

Summary

The live site at https://www.grontved.xyz/HopDatabase/ was down. Root cause: Pages is configured with a custom domain, but actions/upload-pages-artifact replaces the entire served site on every deploy, and the build artifact never contained a CNAME file — so the custom-domain binding eventually broke.

  • Add website/public/CNAME containing www.grontved.xyz. CRA copies public/ to build/ verbatim, so the next deploy artifact will include it and Pages will re-bind the custom domain.
  • Bump deprecated GitHub Actions to their current major versions (Node 20 → Node 24 runtime). The Apr 13 deploy run flagged this; the warning will recur on every run until bumped:
    • actions/checkout v4 → v6
    • actions/setup-python v4 → v6
    • actions/setup-node v4 → v6
    • actions/configure-pages v4 → v6
    • actions/upload-artifact v4 → v7
    • actions/download-artifact v4 → v8
    • actions/upload-pages-artifact v3 → v5
    • actions/deploy-pages v4 → v5

Test plan

  • Merge to main and confirm the Deploy React App to GitHub Pages workflow run completes both build and deploy jobs successfully
  • Verify https://www.grontved.xyz/HopDatabase/ returns the React app (not 404 / Pages error)
  • In repo Settings → Pages, confirm www.grontved.xyz shows as the custom domain with a green check and HTTPS enforced
  • On the next scheduled scraper run (1st of the month) or a manual workflow_dispatch, confirm Python Scripts CI still produces and uploads the hop_database artifact and creates the monthly release (covers the upload/download-artifact major-version bumps)

Generated by Claude Code

claude added 2 commits May 22, 2026 16:50
The Apr 13 deploy run flagged Node 20 actions as deprecated. Bumping all
actions to their current latest major versions which run on Node 24:

- actions/checkout v4 -> v6
- actions/setup-python v4 -> v6
- actions/setup-node v4 -> v6
- actions/configure-pages v4 -> v6
- actions/upload-artifact v4 -> v7
- actions/download-artifact v4 -> v8
- actions/upload-pages-artifact v3 -> v5
- actions/deploy-pages v4 -> v5
The Python Scripts CI workflow has been failing because yakimavalleyhops.com
started returning 403 to GitHub-runner IPs. Per the user's direction, drop
the scraper from CI entirely and rely on the already-checked-in static
dataset at website/public/data/hops.json for deploys.

The deploy workflow consumes that file directly via the React build, so
the live site is unaffected. If data needs refreshing in the future, the
scrapers can be run locally and the result committed.
@kasperg3
kasperg3 merged commit 70a529c into main May 22, 2026
1 check 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.

2 participants