aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-08-16 09:39:42 +0000
committerDrew DeVault <sir@cmpwn.com>2023-08-16 11:50:37 +0200
commit8a64578080527263f5dc6ff3de089e321bab2ed7 (patch)
tree9f18e4ba7b38b58584e9847742aa0774ed6aeccb
parent2a9a8174213f278e9bf5af3d93a0c4baca62afcb (diff)
downloadsr.ht-docs-8a64578080527263f5dc6ff3de089e321bab2ed7.tar.gz
builds.sr.ht: document GIT_REF env
Added in: https://git.sr.ht/~sircmpwn/git.sr.ht/commit/da71f500a91065f0e340830399b426827a1606a7
-rw-r--r--builds.sr.ht/index.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/builds.sr.ht/index.md b/builds.sr.ht/index.md
index 4e51d1f..22d9ecb 100644
--- a/builds.sr.ht/index.md
+++ b/builds.sr.ht/index.md
@@ -193,6 +193,8 @@ Use `-o skip-ci` if you don't want to submit builds.
**Environment**
- `BUILD_SUBMITTER`: `git.sr.ht`
+- `GIT_REF`: [Git reference](https://git-scm.com/book/en/v2/Git-Internals-Git-References)
+ which triggered the build (e.g. `refs/heads/master`)
## hg.sr.ht