Use Heroku env var for commit sha

This commit is contained in:
Alan Friedman 2019-05-13 10:10:16 -04:00
parent ff1977c26c
commit e24ce47be1

View File

@ -1,7 +1,7 @@
echo "building client..."
cd client
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_PROTOCOL=$API_PROTOCOL \
REACT_APP_API_PORT=$API_PORT \