mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-03 15:22:25 +02:00
document COMMIT_SHORT
injection notation
This commit is contained in:
parent
377caf1b99
commit
49c387ba2a
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…
x
Reference in New Issue
Block a user