Commit 70c4a74
committed
Fix GitHub Actions workflow secret check
Fixed issue with checking secrets in if condition
Problem:
- GitHub Actions doesn't allow checking secrets.ENTITY directly in if:
- Error: "Unrecognized named-value: 'secrets'"
Solution:
- Move secret check to shell script within the step
- Use [ -z "$SECRET" ] for shell-based checking
- Script exits gracefully if secret not set
Allows workflow to run even without ELEVENLABS_API_KEY1 parent 9709359 commit 70c4a74
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments