diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 29f1cc5..4c22257 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -24,7 +24,7 @@ concurrency: jobs: publish: - if: github.actor != 'github-actions[bot]' + if: "github.event_name != 'push' || (github.event.head_commit == null || !startsWith(github.event.head_commit.message, 'docs: publish static site'))" runs-on: ubuntu-latest name: Build and sync docs site steps: