mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 00:34:44 +00:00
address feedback
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
4a8d738e48
commit
2329bf1004
1 changed files with 3 additions and 4 deletions
7
.github/workflows/update-readthedocs.yml
vendored
7
.github/workflows/update-readthedocs.yml
vendored
|
@ -14,6 +14,8 @@ on:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- 'pyproject.toml'
|
- 'pyproject.toml'
|
||||||
- '.github/workflows/update-readthedocs.yml'
|
- '.github/workflows/update-readthedocs.yml'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
@ -59,14 +61,11 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the version from the GitHub ref
|
|
||||||
VERSION=${GITHUB_REF#refs/*/}
|
|
||||||
|
|
||||||
response=$(curl -X POST \
|
response=$(curl -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
\"token\": \"$TOKEN\",
|
\"token\": \"$TOKEN\",
|
||||||
\"version\": \"$VERSION\"
|
\"version\": \"$GITHUB_REF_NAME\"
|
||||||
}" \
|
}" \
|
||||||
https://readthedocs.org/api/v2/webhook/llama-stack/289768/)
|
https://readthedocs.org/api/v2/webhook/llama-stack/289768/)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue