diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 76c0a5e05..3ab4402c9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,6 @@ jobs: upload_docs_release: name: Upload release documentation - if: github.event_name == 'push' && contains(github.ref, 'refs/tags') runs-on: ubuntu-latest needs: [ docs ] steps: @@ -42,7 +41,7 @@ jobs: ci-failure: name: Teams notify on failure - if: failure() && (github.event_name == 'pull_request' || github.ref == 'refs/heads/main' || github.ref_type == 'tag') + if: failure() needs: [ docs, upload_docs_release ] runs-on: ubuntu-latest steps: