How to read promote parameters

Hi everyone, I see we can pass the custom parameters in promote event. following this docs drone build promote | Drone

But I can not find the docs how to read these params when execute pipeline.


These parameters will be available to your pipeline steps as environment variables as mentioned in below doc:

You can use the environment variable as below:

Let us know if this helps or if you have any questions.