Skip to content

Commit

Permalink
reset env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffGreiner-eaton committed Feb 5, 2024
1 parent 89df311 commit 8f96586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/blui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ jobs:
matrix:
node-version: [18.x]
env:
REACT_APP_BRANCH: 'master'
PUBLIC_URL: '/react-dev'
REACT_APP_GAID: 'G-JY7JTQ87MB'
REACT_APP_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || 'dev' }}
PUBLIC_URL: ${{ github.ref == 'refs/heads/master' && '/react' || '/react-dev' }}
REACT_APP_GAID: ${{ github.ref == 'refs/heads/master' && 'G-Y2TXKYRFM0' || 'G-JY7JTQ87MB' }}

steps:
- name: Checkout
Expand All @@ -192,7 +192,7 @@ jobs:
cache: 'yarn'
- run: yarn --frozen-lockfile
working-directory: docs
- run: yarn build ${{env.REACT_APP_BRANCH}} ${{env.PUBLIC_URL}} ${{env.REACT_APP_GAID}}
- run: yarn build
working-directory: docs
- name: Save build
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 8f96586

Please sign in to comment.