Repository navigation
refactor(content): remove the Google Sheet code now production runs on Payload - #61
Merged
maxitect merged 4 commits intoNov 26, 2026
Merged
Conversation
✅ Deploy Preview for clarksbowlingclub ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
maxitect
marked this pull request as ready for review
November 26, 2026 19:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Step 6 of the #33 switchover: removes the Google Sheet code from the repo now that production has run on Payload since 12 November 2026.
Changes
fetchSheet, the CSV parsers, thecontent:importandcontent:comparescripts and their files are gone;content.tsreads Payload only.BilingualPageandCarouselPhotonow live inpayload.ts.papaparseand@types/papaparseare removed, since nothing else used them.SHEET_CSV_URLis gone from the code, CI and the docs (README, INSTRUCTIONS.md). There was no.env.examplein the repo; the README env block now listsDATABASE_URLandPAYLOAD_SECRET.DATABASE_URLandPAYLOAD_SECRETfrom repository secrets, because the site no longer builds without a database (see Notes).Acceptance criteria
/,/about,/tour,/music,/lyrics,/sitemap.xml,/llms.txt,.mdpages answer 200 with the same contentSHEET_CSV_URLCloses
Closes #49
Notes
Pre-check: nothing has gone wrong on Payload since the switch. Production is on one ready deploy from 13 Nov 23:47 UTC, and every page answers 200 today (AC2).
Left out on purpose, because they are outward-facing and would remove the rollback path before this merges. After merging, in this order:
DATABASE_URL(Neondevbranch) andPAYLOAD_SECRETare set in GitHub Actions, and CI passes with them.curl -ithe published CSV URL and confirm an error status. This also closes the published-link point of Security hardening: headers, CMS URLs, email and account settings #34.SHEET_CSV_URLfrom the Netlify environment variables and from the GitHub Actions repository variables. After a day, confirm the Netlify function logs show no request todocs.google.com.Review
Verdict: ALL CLEAR
Rounds: 3
checkfails:pnpm buildhas noDATABASE_URL/PAYLOAD_SECRET("missing secret key"), so the CI half of AC3 is unprovenS3_*storage ones Payload readsRe-verified: AC1 (code,
git grepno match,papaparsegone from lockfile) PASS · AC2 (api, deploy preview: 11 routes 200) PASS · AC3 (cli) local build PASS, CIcheckPASS withoutSHEET_CSV_URL· main unmoved (merge base a315291), PR mergeable · check.sh PASSEvidence
AC1
AC2
AC3