From 2329bf10048287ab1dc55bd159158c063d722f7e Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Thu, 15 May 2025 10:38:15 -0400 Subject: [PATCH] address feedback Signed-off-by: Yuan Tang --- .github/workflows/update-readthedocs.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-readthedocs.yml b/.github/workflows/update-readthedocs.yml index 14b496791..094942368 100644 --- a/.github/workflows/update-readthedocs.yml +++ b/.github/workflows/update-readthedocs.yml @@ -14,6 +14,8 @@ on: - 'docs/**' - 'pyproject.toml' - '.github/workflows/update-readthedocs.yml' + tags: + - '*' pull_request: branches: - main @@ -59,14 +61,11 @@ jobs: exit 1 fi - # Get the version from the GitHub ref - VERSION=${GITHUB_REF#refs/*/} - response=$(curl -X POST \ -H "Content-Type: application/json" \ -d "{ \"token\": \"$TOKEN\", - \"version\": \"$VERSION\" + \"version\": \"$GITHUB_REF_NAME\" }" \ https://readthedocs.org/api/v2/webhook/llama-stack/289768/)