aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2021-03-05 19:13:19 +0300
committerDrew DeVault <sir@cmpwn.com>2021-03-06 16:38:32 -0500
commit54a3ada3205acd4ca2638c5230c19a4cec1d9d25 (patch)
tree89c6567371c9161c137b1da4bdeecd41db9a6d52
parent990e1f026dd7b79cb9ffe08b93c822e35e282fb1 (diff)
downloadsr.ht-docs-54a3ada3205acd4ca2638c5230c19a4cec1d9d25.tar.gz
builds: document environment for dispatch.sr.ht
-rw-r--r--builds.sr.ht/index.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/builds.sr.ht/index.md b/builds.sr.ht/index.md
index 7cbbf9a..2599c56 100644
--- a/builds.sr.ht/index.md
+++ b/builds.sr.ht/index.md
@@ -170,6 +170,13 @@ page!
builds.sr.ht, including support for connecting builds.sr.ht to external services
like GitHub. This should be your first stop when looking for an integration.
+**Environment**
+
+- `BUILD_SUBMITTER`: `dispatch.sr.ht`
+- `BUILD_REASON`: `github-commit` (commit from Github), `gitlab-commit`
+(commit from Gitlab), `github-pr` (pull request from Github) or
+`gitlab-mr` (merge request from Gitlab)
+
## git.sr.ht
git.sr.ht will automatically submit builds for you if you store a manifest in