mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-08 04:08:37 -06:00
Use short header option, rename workflow to Integration
This commit is contained in:
2
run.sh
2
run.sh
@@ -18,7 +18,7 @@ fi
|
||||
REPO="Xevion/spotify-player-quickauth"
|
||||
API_URL="https://api.github.com/repos/$REPO/releases/latest"
|
||||
if [ -n "$GH_TOKEN" ]; then
|
||||
API_URL="$API_URL --header 'Authorization: Bearer $GH_TOKEN'"
|
||||
API_URL="$API_URL -H 'Authorization: Bearer $GH_TOKEN'"
|
||||
fi
|
||||
DOWNLOAD_URL=$(curl -s $API_URL | grep "browser_download_url" | grep $target | cut -d '"' -f 4)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user