Commit c55d3f7
Fix Rails 8.1+ deployment by adding SECRET_KEY_BASE to release script
Rails 8.1.1 (introduced in commit baac683) requires SECRET_KEY_BASE
to be set during initialization, even for tasks like db:prepare that
don't actually use the secret key.
This change updates the release script to provide a placeholder
SECRET_KEY_BASE value if one isn't already set in the environment,
similar to the fix in commit 6039dd7 for the Docker build phase.
The actual SECRET_KEY_BASE for runtime will still come from the
deployment environment variables.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent f4a07bd commit c55d3f7
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments