Skip to content

Commit

Permalink
document COMMIT_SHORT injection notation
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Oct 28, 2015
1 parent 377caf1 commit 49c387b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/build/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49c387b

Please sign in to comment.