Moderpo
Moderpo
DDeno
Created by Tommy on 11/15/2024 in #help
Referencing environment variables from .env in deno compile or deno task commands
also, if someone's looking for a hacky solution for this, read about env files in the documentation and change your command to load the env variables by running a script first and then executing the actual command. You can string commands together using &&. This will cause the second command to execute if and after the first successfully completes.
6 replies
DDeno
Created by Tommy on 11/15/2024 in #help
Referencing environment variables from .env in deno compile or deno task commands
I have also found that making a deno task that sets up some env variables and then listing that task as a dependency, the variables will not be set when the second task runs.
6 replies