From 8a64578080527263f5dc6ff3de089e321bab2ed7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 16 Aug 2023 09:39:42 +0000 Subject: builds.sr.ht: document GIT_REF env Added in: https://git.sr.ht/~sircmpwn/git.sr.ht/commit/da71f500a91065f0e340830399b426827a1606a7 --- builds.sr.ht/index.md | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit