Thanks <@U03MCHZARD0> for fixing my github app con...
# pulumi-deployments
f
Thanks @hallowed-photographer-31251 for fixing my github app config. Now that I’m trying to run a preview, the current problem is that I have an environment variable that I need to set programmatically. In github actions I do that by running a command and storing the result to $GITHUB_ENV. Is there an equivalent mechanism in pulumi deployments?
h
you can run that step as a pre-run command and modify your environment via PULUMI_ENV https://www.pulumi.com/docs/intro/deployments/api/#operationcontext
f
Great, thanks!
Although, now that I think about it, I might try running the command in the Pulumi program itself …
h
depending on what you need to do you might need to modify the execution environment to install some additional dependencies — the docs should cover how to do that as well