From 6cd9c16e525c7d84fa41cf74bf74bcf8866367ea Mon Sep 17 00:00:00 2001 From: AZMCode Date: Wed, 5 Aug 2020 13:51:35 -0400 Subject: [PATCH] Update main.yml --- .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 d5d5228..837b5a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: CI on: [push, pull_request] jobs: Test: - if: github.ref != 'gh-pages' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) + if: github.ref != 'refs/heads/gh-pages' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -45,7 +45,7 @@ jobs: run: cd $GITHUB_WORKSPACE && yarn run clean:all && yarn run build:all Publish-Docs-And-Package: - if: github.ref == 'master' && github.event_name == 'push' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' needs: Test # The type of runner that the job will run on runs-on: ubuntu-latest