document COMMIT_SHORT
injection notation
This commit is contained in:
parent
377caf1b99
commit
49c387ba2a
1 changed files with 2 additions and 1 deletions
3
docs/build/env.md
vendored
3
docs/build/env.md
vendored
|
@ -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:
|
||||
|
||||
* `$$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
|
||||
* `$$REPO` repository full name (in `owner/name` format)
|
||||
* `$$TAG` tag name
|
||||
|
|
Loading…
Reference in a new issue