Use production services in Rinkeby for PRs to master

This commit is contained in:
Daniel Sanchez 2021-03-24 11:57:52 +01:00
parent 8b35069e15
commit ccd54721cf
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ jobs:
# Set production flag
- name: Set production flag for tag build
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') || github.base_ref == 'master'
- name: Build ${{ env.REACT_APP_NETWORK }} app ${{ env.REACT_APP_ENV }}
run: yarn build