diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 17d65b07e96e..d9054928ed8d 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -9,8 +9,8 @@ on: - v*-patch paths: - "src/diffusers/**.py" - - "examples/" - - "docs/" + - "examples/**" + - "docs/**" jobs: build: diff --git a/.github/workflows/build_pr_documentation.yml b/.github/workflows/build_pr_documentation.yml index 267381fd64e7..8e19d8fafbe3 100644 --- a/.github/workflows/build_pr_documentation.yml +++ b/.github/workflows/build_pr_documentation.yml @@ -4,8 +4,8 @@ on: pull_request: paths: - "src/diffusers/**.py" - - "examples/" - - "docs/" + - "examples/**" + - "docs/**" concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}