From f426741d61a5d3eb60e5057e4aca093741af10a6 Mon Sep 17 00:00:00 2001 From: Crivella Date: Fri, 22 Sep 2023 13:33:36 +0200 Subject: [PATCH] Fixed workflows trigger event --- .github/workflows/ci.yml | 2 +- .github/workflows/docs-build.yml | 3 ++- .github/workflows/docs-deploy.yml | 4 +--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be17046..a330a9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: paths: - "ocr_translate/**" - "pyproject.toml" - - ".github/workflows/**" + - ".github/workflows/ci.yml" - ".pre-commit-config.yaml" pull_request: diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 2c1ef50..00fe786 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -3,7 +3,8 @@ name: docs-build on: push: branches: - - master + - master + paths: ['docs/**'] pull_request: branches-ignore: [gh-pages] paths: ['docs/**'] diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 3e34c12..b0565e5 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -1,9 +1,7 @@ -name: docs-build +name: docs-deploy on: push: - branches: - - master tags: - 'v[0-9]+.[0-9]+.[0-9]+*'