Skip to content

Commit

Permalink
try fixing curl
Browse files Browse the repository at this point in the history
Signed-off-by: Anton-4 <[email protected]>
  • Loading branch information
Anton-4 authored Aug 5, 2023
1 parent baf0825 commit 9e8044b
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 9e8044b

Please sign in to comment.