From a16fe8a6a7f8c33c747fea3c80eeb1ea102e30b1 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sat, 17 Jul 2021 12:46:15 -0400 Subject: [PATCH] ci: fix cond --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d0dab4c..eec149a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: preview: runs-on: ubuntu-latest name: Deploy preview - if: ${{ github.ref != 'refs/head/main' }} + if: ${{ github.ref != 'refs/heads/main' }} needs: build steps: - uses: actions/checkout@v2 @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest name: Deploy needs: build - if: ${{ github.ref == 'refs/head/main' }} + if: ${{ github.ref == 'refs/heads/main' }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2