From 1ff9336bce4a1743e38d0ac27df0101a824808ed Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Sun, 17 May 2020 08:34:16 +0200 Subject: [PATCH] check github.ref value --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d5bbf6d..5791e4a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: [push] jobs: test: name: Test + if: ${{ github.ref == 'master' }} runs-on: ubuntu-latest env: REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }} @@ -26,12 +27,12 @@ jobs: start: yarn start wait-on: 'http://localhost:3000' release: - if: ${{ github.ref == 'master' }} - needs: test name: Release + # if: ${{ github.ref == 'master' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + run: echo github.ref - name: Build run: yarn build - name: Install Firebase CLI tools