π The fast, Pythonic way to build MCP servers and clients.
ci: check out published-docs itself before opening the publication PR (#4960)
nate nowack729a6b2c869f
diff --git a/.github/workflows/publish-fastmcp.yml b/.github/workflows/publish-fastmcp.ymlindex 76e789291..5ba52108d 100644--- a/.github/workflows/publish-fastmcp.yml+++ b/.github/workflows/publish-fastmcp.yml@@ -219,7 +219,7 @@ jobs:RELEASE_SHA: ${{ github.event.workflow_run.head_sha }}run: |git fetch origin published-docs- git switch --force-create published-docs-sync origin/published-docs+ git switch --force-create published-docs origin/published-docsgit read-tree --reset -u "$RELEASE_SHA"test "$(git write-tree)" = "$(git rev-parse "${RELEASE_SHA}^{tree}")"