Skip to content

Move README.coolify.md into .github/ so daily sync preserves it#2

Merged
lunarthegrey merged 1 commit into
mainfrom
fix-readme-coolify-location
Apr 22, 2026
Merged

Move README.coolify.md into .github/ so daily sync preserves it#2
lunarthegrey merged 1 commit into
mainfrom
fix-readme-coolify-location

Conversation

@lunarthegrey
Copy link
Copy Markdown

@lunarthegrey lunarthegrey commented Apr 22, 2026

Summary

  • Moves README.coolify.md.github/README.coolify.md.
  • patch.py reads from the new path and now fails loudly if the source is missing (instead of silently no-op'ing).
  • test-patch.sh mirrors the new layout.

Why

The sync workflow backs up only .github/ before git reset --hard upstream/main, so the repo-root README.coolify.md was wiped every night. patch.py's overwrite_readme() was guarded by if src.exists(): — no source meant no overwrite — so README.md silently reverted to upstream's "Ghost Docker" stub.

Caught on the first dispatched run of sync.yml after #1 landed.

Test plan

  • bash .github/scripts/test-patch.sh passes with the new path
  • shellcheck .github/scripts/test-patch.sh clean
  • After merge: manually dispatch sync.yml; verify README.md on main starts with # Ghost on Coolify (not # Ghost Docker)

🤖 Generated with Claude Code

The sync workflow backs up only .github/ before `git reset --hard
upstream/main`, so README.coolify.md at the repo root was wiped every
night. patch.py's overwrite_readme() then silently no-op'd (file
missing) and README.md reverted to upstream's stub.

Caught by the first real sync run after the PR landed: README on main
was upstream's "Ghost Docker" stub instead of the Coolify deploy guide.

patch.py now reads .github/README.coolify.md and fails loudly if it's
missing (since the sync is supposed to preserve it). test-patch.sh
mirrors the new path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@lunarthegrey lunarthegrey merged commit c82cf09 into main Apr 22, 2026
2 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