forked from phoenix-oss/llama-stack-mirror
Quote the token properly
This commit is contained in:
parent
5005939494
commit
981bb52b59
1 changed files with 1 additions and 10 deletions
11
.github/workflows/update-readthedocs.yml
vendored
11
.github/workflows/update-readthedocs.yml
vendored
|
@ -28,18 +28,9 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
y=$TOKEN
|
||||
py="foo-${y}"
|
||||
|
||||
# echo first letter of $TOKEN
|
||||
# echo last letter of $TOKEN
|
||||
echo $TOKEN | cut -c 1
|
||||
echo $TOKEN | cut -c -1
|
||||
echo $py
|
||||
|
||||
response=$(curl -X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"token": "$TOKEN"}' \
|
||||
-d "{\"token\": \"$TOKEN\"}" \
|
||||
https://readthedocs.org/api/v2/webhook/llama-stack/289768/)
|
||||
|
||||
echo "Response: $response"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue