-
[NA] [DOCS] fix: auto-trigger Python SDK docs deploy on merge to main (#7543)
发布于
2026-07-21 08:28:05 +00:00 deploy_python_sdk_docs.yml was workflow_dispatch-only, so publishing a
production build depended entirely on someone remembering to run it by
hand. The last successful production deploy off main was 2025-10-28 —
9 months stale as of this investigation, missing the whole Opik 2.0
project-scoping change and the Test Suite API.Add a push trigger on main scoped to sdks/python/** and
apps/opik-documentation/python-sdk-docs/**, deploying straight to
production with no staging gate — mirroring the pattern already used
by build_and_publish_sdk.yaml (same trigger, publishes to PyPI) and by
documentation_deploy.yml (the Fern docs site, "merge is deploy").
Confirmed via the GitHub API that the production environment has no
required-reviewer protection rules, so this won't silently queue
pending an approval nobody grants.workflow_dispatch stays as a manual override for ad-hoc re-deploys or
testing against staging/development.下载附件