ci: self-bootstrap repo (clone-if-absent) on fresh hosts #5

Merged
enricobuehler merged 1 commits from deploy-autoclone into main 2026-06-05 00:28:49 +00:00
Owner

The deploy did cd ~/${GAME_ID} && git reset --hard, assuming the repo was pre-cloned (a one-time manual step on the home VM). On a fresh host that fails. Add a clone-if-absent (HTTPS, using the existing REGISTRY_USER/REGISTRY_TOKEN) before the cd, so a brand-new box self-assembles. Requires REGISTRY_TOKEN to carry repository:read (now widened).

🤖 Generated with Claude Code

The deploy did `cd ~/${GAME_ID} && git reset --hard`, assuming the repo was pre-cloned (a one-time manual step on the home VM). On a fresh host that fails. Add a clone-if-absent (HTTPS, using the existing `REGISTRY_USER`/`REGISTRY_TOKEN`) before the `cd`, so a brand-new box self-assembles. Requires `REGISTRY_TOKEN` to carry `repository:read` (now widened). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
enricobuehler added 1 commit 2026-06-05 00:28:31 +00:00
Deploy assumed the repo was pre-cloned at ~/<name>; clone it over HTTPS+token
if absent so a brand-new host self-assembles.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
enricobuehler merged commit aea479ff72 into main 2026-06-05 00:28:49 +00:00
enricobuehler deleted branch deploy-autoclone 2026-06-05 00:28:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: played/workflows#5