From c78453f12726e3632064a54a821f5a92639f41d7 Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Thu, 5 May 2022 12:53:47 -0700 Subject: [PATCH] Do not run docs preview action on main branch (#683) --- .github/workflows/ci_cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 93247c492..140437664 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -285,6 +285,7 @@ jobs: docs-preview: name: Publish preview of developer docs for the branch runs-on: ubuntu-latest + if: github.ref != 'refs/heads/main' needs: - build-images