mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 18:54:52 +00:00
Use Heroku env var for commit sha
This commit is contained in:
parent
ff1977c26c
commit
e24ce47be1
2
build.sh
2
build.sh
@ -1,7 +1,7 @@
|
|||||||
echo "building client..."
|
echo "building client..."
|
||||||
cd client
|
cd client
|
||||||
yarn --production=false
|
yarn --production=false
|
||||||
REACT_APP_COMMIT_SHA=`git rev-parse --short HEAD` \
|
REACT_APP_COMMIT_SHA=$SOURCE_VERSION \
|
||||||
REACT_APP_API_HOST=$API_HOST \
|
REACT_APP_API_HOST=$API_HOST \
|
||||||
REACT_APP_API_PROTOCOL=$API_PROTOCOL \
|
REACT_APP_API_PROTOCOL=$API_PROTOCOL \
|
||||||
REACT_APP_API_PORT=$API_PORT \
|
REACT_APP_API_PORT=$API_PORT \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user