Full list of Meta Substitutions

Hello,

Does anyone know if there is a full list of substitutions available anywhere? By this I mean the other variables available like DRONE_TAG, DRONE_BRANCH, DRONE_BUILD_NUMBER etc.

I have searched the documentation, codebase, issues etc but couldn’t find this anywhere.

Many thanks!

The old docs had this list see here.

You can see the code here.

Excellent, thank you very much!

You can also find it here: http://docs.drone.io/environment-reference/

Using - env will also print all available environment variables and their values.
Please be careful when using that since it will print any secrets configured for that step and/or global secrets.

Definitely missed that link in the sidebar! Apologies!! Many thanks for pointing me in the right direction :slight_smile: