From e097623735adff1552824f7d4196c14b09ec6508 Mon Sep 17 00:00:00 2001 From: Zijian Zhang Date: Fri, 29 Mar 2024 10:23:06 +0800 Subject: [PATCH] ci: fix PR problem --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45f9b9a..19f3307 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -96,6 +96,7 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} + if: github.ref == 'refs/heads/main' needs: - build-api-docs - build-viewer