From a9ffc3318e634d003a764ac9d0097cdc4bb6a3a0 Mon Sep 17 00:00:00 2001 From: Ruidy Nemausat Date: Sun, 17 May 2020 09:29:02 +0200 Subject: [PATCH] final versioning --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 33c23ec..77a7f96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,6 @@ on: [push] jobs: test: name: Test - if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest env: REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }} @@ -28,12 +27,10 @@ jobs: wait-on: 'http://localhost:3000' release: name: Release - # if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: ref - run: echo ${{ github.ref }} - name: Install dependencies run: yarn install --frozen-lockfile - name: Build @@ -41,6 +38,6 @@ jobs: - name: Deploy to Firebase uses: w9jds/firebase-action@master with: - args: deploy --only hosting + args: deploy env: FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}