diff options
-rw-r--r-- | builds.sr.ht/index.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/builds.sr.ht/index.md b/builds.sr.ht/index.md index 4e0cf48..58a6f8a 100644 --- a/builds.sr.ht/index.md +++ b/builds.sr.ht/index.md @@ -134,8 +134,12 @@ Each task's script is given a preamble that looks like this: ```sh #!/usr/bin/env bash . ~/.buildenv -set -x -set -e +set -xe + +acurl() ( + set +x + curl --oauth2-bearer "$OAUTH2_TOKEN" "$@" +) ``` The actual shell varies depending on your build image. `~/.buildenv` contains |