From d14e10a0c8d47ad68522de74c47659af99b40abe Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Thu, 26 Sep 2024 19:56:09 -0700 Subject: [PATCH] skip deployment workflow entirely if unneeded --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11ad7898..210d381c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -175,6 +175,7 @@ jobs: docs-deploy: name: Deploy Documentation runs-on: ubuntu-latest + if: github.ref_name == 'main' || startsWith(github.ref, 'refs/tags/') needs: - docs-lint permissions: