From 00e6affde89aa436eaaa695ed75b20afbedd6a9d Mon Sep 17 00:00:00 2001 From: Anh Nguyet Vu Date: Fri, 17 May 2024 10:52:44 -0600 Subject: [PATCH] Don't build docs on closed PRs --- .github/workflows/publish-docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index bc6f8269..6725aeda 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -31,7 +31,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Build using docker + - name: Build using docker + if: github.event.action != 'closed' run: | docker run -v $(pwd):/app ghcr.io/nf-osi/data-model-docs