diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 387d8e0424..efb84d510e 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -27,7 +27,7 @@ jobs: - 'docs/**' - name: Check if we should force jobs to run id: should_force - run: echo "should_force=${{ github.event_name == 'release' }}" >> "$GITHUB_OUTPUT" + run: echo "should_force=${{ github.event_name == 'release' || github.ref_name == 'main' }}" >> "$GITHUB_OUTPUT" build: name: Docs Build