diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7f59979e..38f20e94 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,8 +1,12 @@ name: Deploy Docs on: + # Rebuild docs only when the package version changes on main, so the + # published docs always match the latest released package version push: branches: [main] + paths: + - "src/microsoft/opentelemetry/_version.py" workflow_dispatch: permissions: