From 9e8044b48bfeb76573e032a513f4b9508814585f Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:47:05 +0200 Subject: [PATCH] try fixing curl Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> --- www/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/build.sh b/www/build.sh index 608637886a8..47a97ee2aa8 100755 --- a/www/build.sh +++ b/www/build.sh @@ -120,7 +120,7 @@ mv generated-docs/* $BASIC_CLI_PACKAGE_DIR # move all the folders to build/packa # we need a github token if [ -v GITHUB_TOKEN_READ_ONLY ]; then - curl -fL -o basic_cli_releases.json "https://api.github.com/repos/roc-lang/basic-cli/releases" + curl -v -H "Authorization: $GITHUB_TOKEN_READ_ONLY" -fL -o basic_cli_releases.json "https://api.github.com/repos/roc-lang/basic-cli/releases" DOCS_LINKS=$(cat basic_cli_releases.json | jq -r '.[] | .assets[] | select(.name=="docs.tar.gz") | .browser_download_url')