From f8f81198848834d1fa60d90df3b2d9b85b307cd1 Mon Sep 17 00:00:00 2001 From: Aaran Xu Date: Tue, 1 Feb 2022 15:16:18 +0800 Subject: [PATCH] Update CI --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e3fc638..ab8ef91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,6 +65,7 @@ jobs: - name: Validate references run: bash ci/validate.sh deploy: + if: ${{ github.ref == 'refs/heads/main' }} name: Deploy runs-on: ubuntu-latest needs: [test, lint]