aboutsummaryrefslogtreecommitdiffstats
path: root/builds.sr.ht
diff options
context:
space:
mode:
Diffstat (limited to 'builds.sr.ht')
-rw-r--r--builds.sr.ht/manifest.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md
index 1a02e31..cc22277 100644
--- a/builds.sr.ht/manifest.md
+++ b/builds.sr.ht/manifest.md
@@ -114,8 +114,12 @@ with the following preamble:
```sh
#!/usr/bin/env bash
. ~/.buildenv
-set -x
-set -e
+set -xe
+
+acurl() (
+ set +x
+ curl --oauth2-bearer "$OAUTH2_TOKEN" "$@"
+)
```
~/.buildenv contains environment variables specified by the `environment`