Commit 46f5e09
fix: append S3 env vars if missing instead of silent sed no-op
The deploy script used sed substitution for S3_ACCESS_KEY, S3_SECRET_KEY,
and S3_BUCKET, which silently does nothing when the lines don't exist in
deploy/.env. This happens when the .env was created before S3 vars were
added to the template. Now uses grep-or-append pattern to ensure vars
are always present. Also adds S3_ENDPOINT which was never injected.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0d517f8 commit 46f5e09
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
| |||
0 commit comments