Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -46,7 +46,9 @@ jobs:
|
||||
fetch_json() {
|
||||
url="$1"
|
||||
body_file=$(mktemp)
|
||||
code=$(curl --retry 3 --retry-delay 5 -s -o "$body_file" -w "%{http_code}" "$url")
|
||||
code=$(curl --retry 3 --retry-delay 5 -s \
|
||||
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||
-o "$body_file" -w "%{http_code}" "$url")
|
||||
echo "$code" "$body_file"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user