diff --git a/.github/workflows/contracts-docs.yml b/.github/workflows/contracts-docs.yml index 394d7afe9..162e54cc9 100644 --- a/.github/workflows/contracts-docs.yml +++ b/.github/workflows/contracts-docs.yml @@ -36,7 +36,7 @@ jobs: name: Publish preview of contracts documentation needs: docs-detect-changes if: | - github.event_name == 'pull_request' + needs.docs-detect-changes.outputs.path-filter == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' uses: keep-network/ci/.github/workflows/reusable-solidity-docs.yml@main