Skip to content

Commit

Permalink
Merge pull request #5730 from roc-lang/curl-fix
Browse files Browse the repository at this point in the history
use token with curl
  • Loading branch information
Anton-4 committed Aug 5, 2023
2 parents baf0825 + 9e8044b commit 5d3a3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 5d3a3e8

Please sign in to comment.