diff --git a/.github/workflows/doc_build_after_merge.yml b/.github/workflows/doc_build_after_merge.yml index ede04b336..b6fd57b8d 100644 --- a/.github/workflows/doc_build_after_merge.yml +++ b/.github/workflows/doc_build_after_merge.yml @@ -2,12 +2,12 @@ name: Build Documentation After Merge on: workflow_dispatch: - pull_request: + push: paths: - - 'version.txt' - - 'docs/**' - types: - - closed + - "version.txt" + - "docs/**" + branches: + - "main" jobs: build-doc: