Commit de67461
Fix preview deploy: use appData endpoint, not appDefinitions/update
appDefinitions/update silently ignores a top-level imageName field, so the
"deploy" step was reporting success while never actually swapping the
running image — the app stayed on CapRover's placeholder page. Deploying a
pre-built image goes through appData with a captainDefinitionContent
payload instead, same as the caprover CLI does internally.
Also required a ghcr.io registry credential in CapRover (GHCR_PULL_PAT
secret) since the preview image package is private and the node had no
credentials to pull it — confirmed via a manual deploy against pr-136 that
this now serves real routes (/events, /talk, etc.) instead of 404ing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W2kALmabEHRhY4yGKRKykv1 parent 31ff743 commit de67461
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
0 commit comments