I want to set up a github action that run my vitest suite, but my worker depends on secrets.
How should I inject them into the env object? locally it's not a problem. Miniflare reads them from the .dev.vars file, but on github actions the file does not exist ofc.
I thought to be really convenient to have a way to inject secrets via the cli, since gh allows for that.
If anyone know a better way to inject the secrets into the action, i'll close the issue
Describe the solution
I want to set up a github action that run my vitest suite, but my worker depends on secrets. How should I inject them into the
env
object? locally it's not a problem. Miniflare reads them from the.dev.vars
file, but on github actions the file does not exist ofc. I thought to be really convenient to have a way to inject secrets via the cli, since gh allows for that. If anyone know a better way to inject the secrets into the action, i'll close the issue