document COMMIT_SHORT injection notation

This commit is contained in:
Brad Rydzewski 2015-10-28 15:39:19 -07:00
parent 377caf1b99
commit 49c387ba2a

3
docs/build/env.md vendored
View file

@ -31,7 +31,8 @@ Drone also injects `CI_` prefixed variables for compatibility with other systems
A subset of variables may be injected directly into the Yaml at runtime using the `$$` notation: A subset of variables may be injected directly into the Yaml at runtime using the `$$` notation:
* `$$COMMIT` git sha for the current build, `--short` format * `$$COMMIT_SHORT` git sha for the current build, `--short` format
* `$$COMMIT` git sha for the current build, long format
* `$$BRANCH` git branch for the current build * `$$BRANCH` git branch for the current build
* `$$REPO` repository full name (in `owner/name` format) * `$$REPO` repository full name (in `owner/name` format)
* `$$TAG` tag name * `$$TAG` tag name