diff options
Diffstat (limited to 'builds.sr.ht')
-rw-r--r-- | builds.sr.ht/index.md | 1 | ||||
-rw-r--r-- | builds.sr.ht/manifest.md | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/builds.sr.ht/index.md b/builds.sr.ht/index.md index 5975486..46dd6b3 100644 --- a/builds.sr.ht/index.md +++ b/builds.sr.ht/index.md @@ -137,6 +137,7 @@ Each task's script is given a preamble that looks like this: . ~/.buildenv set -xe +# Deprecated -- use hut instead acurl() ( set +x curl --oauth2-bearer "$OAUTH2_TOKEN" "$@" diff --git a/builds.sr.ht/manifest.md b/builds.sr.ht/manifest.md index cc22277..12c8693 100644 --- a/builds.sr.ht/manifest.md +++ b/builds.sr.ht/manifest.md @@ -116,6 +116,7 @@ with the following preamble: . ~/.buildenv set -xe +# Deprecated -- use hut instead acurl() ( set +x curl --oauth2-bearer "$OAUTH2_TOKEN" "$@" @@ -161,5 +162,7 @@ List of secret UUIDs to be added to the guest during the build. See also: If present, and secrets are enabled for this build, an OAuth 2.0 bearer token is generated for this build with the given string as the list of grants. The -`acurl` command may be used in the task scripts to perform authenticated -[GraphQL API requests](https://man.sr.ht/graphql.md). +[hut](https://sr.ht/~emersion/hut/) tool may be used in the task scripts to +perform authenticated [GraphQL API requests](https://man.sr.ht/graphql.md). +hut needs to be included in the [`packages`](#packages) list (using the name +of the [hut package for your OS](https://repology.org/project/hut/versions)). |