final versioning

This commit is contained in:
Ruidy Nemausat 2020-05-17 09:29:02 +02:00
parent 8fc12ed796
commit a9ffc3318e

View file

@ -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 }}