(key)
| 33 | } |
| 34 | |
| 35 | function envToString(key) { |
| 36 | const value = process.env[key]; |
| 37 | if (value) { |
| 38 | return JSON.stringify(value); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Read the secrets from GitHub Actions and generate a file. |
| 43 | // During local development, these secrets will be empty. |