Skip to content

Commit

Permalink
chore: add REACT_APP_API to github build vars
Browse files Browse the repository at this point in the history
  • Loading branch information
simonv3 committed Aug 24, 2022
1 parent 384d085 commit d000518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ REACT_APP_CLIENT_SECRET=
REACT_APP_CLIENT_ID=
PORT=8080
REACT_APP_AUTHORITY=
REACT_APP_AUTH_METADATA_URL=
REACT_APP_AUTH_METADATA_URL=
REACT_APP_API=
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
REACT_APP_CLIENT_SECRET: ${{ secrets.REACT_APP_CLIENT_SECRET }}
REACT_APP_AUTHORITY: ${{ secrets.REACT_APP_AUTHORITY }}
REACT_APP_AUTH_METADATA_URL: ${{ secrets.REACT_APP_AUTH_METADATA_URL }}
REACT_APP_API: ${{ secrets.REACT_APP_API }}

jobs:
build:
Expand All @@ -34,10 +35,6 @@ jobs:
- name: Install dependencies
run: yarn install

- name: What's in env
run: env
- run: echo "$GITHUB_CONTEXT"

- name: Build
run: yarn build

Expand Down

0 comments on commit d000518

Please sign in to comment.