Does Pulumi Deploy create any environment variable...
# general
l
Does Pulumi Deploy create any environment variables that tell me the source of the trigger e.g. PULUMI_DEPLOY_INVOKE_SOURCE=console/github/rest and the commit SHA if the source is github/git?
t
r
There's an open issue about the SHA but there is a workaround that lets you access it in a prerun command
Running the following in a prerun command will get you the SHA
Copy code
git rev-parse HEAD
The trigger is not included in the environment... but we could definitely add that. Opened an issue: https://github.com/pulumi/pulumi-cloud-requests/issues/379