Skip to content

The agent engineering platform.

chore(infra): only build 0.3 ref docs from `v0.3` branches (#33322)

Mason Daughertyc55c9785bef9
diff --git a/.github/workflows/api_doc_build.yml b/.github/workflows/api_doc_build.yml
index a08953fd7b..3315dfb4f7 100644
--- a/.github/workflows/api_doc_build.yml
+++ b/.github/workflows/api_doc_build.yml
@@ -78,7 +78,7 @@ jobs:
exit 1
fi
echo "Checking out $repo to $REPO_NAME"
- git clone --depth 1 https://github.com/$repo.git $REPO_NAME
+ git clone --depth 1 --branch v0.3 https://github.com/$repo.git $REPO_NAME
done
- name: "🐍 Setup Python ${{ env.PYTHON_VERSION }}"