Skip to content

Commit

Permalink
chore(ci): inject version into Node App + App Client ID from GH secre…
Browse files Browse the repository at this point in the history
…t at build time

Signed-off-by: Paul Horton <[email protected]>
  • Loading branch information
madpah committed Jul 11, 2024
1 parent 2b1d9eb commit eeff4e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ permissions:
jobs:
build:
name: Build and Publish Docker Image
env:
REACT_APP_GITHUB_CLIENT_ID: ${{ secrets.REACT_APP_GITHUB_CLIENT_ID }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ docker:
build: yarn go-build

yarn:
yarn && NODE_OPTIONS=--openssl-legacy-provider yarn build
yarn && yarn version --new-version $(VERSION) && NODE_OPTIONS=--openssl-legacy-provider yarn build

go-build:
echo "VERSION: $(VERSION)"
Expand Down

0 comments on commit eeff4e8

Please sign in to comment.