Skip to content

Commit 1c64f64

Browse files
authored
Merge pull request #31 from SentienceAPI/fix_release3
fix auth
2 parents e9c0bb3 + ee1d6ca commit 1c64f64

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sync-extension.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ jobs:
8080
fi
8181
8282
echo " Downloading from: $TARBALL_URL"
83-
curl -L -H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \
83+
# Use Accept header for private repos to get the asset directly
84+
curl -L \
85+
-H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \
86+
-H "Accept: application/octet-stream" \
8487
"$TARBALL_URL" -o extension-files.tar.gz
8588
8689
# Verify download

0 commit comments

Comments
 (0)