Skip to content

Commit 8093b87

Browse files
build docs when is main
1 parent 81cf34f commit 8093b87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/stage-3-build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ jobs:
6767
if: |
6868
needs.detect-doc-changes.outputs.docs_changed == 'true' ||
6969
needs.detect-doc-changes.outputs.schemas_changed == 'true' ||
70-
needs.detect-doc-changes.outputs.eventcatalog_changed == 'true'
70+
needs.detect-doc-changes.outputs.eventcatalog_changed == 'true' ||
71+
github.event_name == 'push' && github.ref == 'refs/heads/main'
7172
runs-on: ubuntu-latest
7273
timeout-minutes: 15
7374
permissions:

0 commit comments

Comments
 (0)