How can I set env var to another env var

For Create React Application build time env var need to be prefixed with REACT_APP_. How can I use one of Netlify read only var like COMMIT_REF. If I try setting REACT_APP_COMMIT_REF to $COMMIT_REF in the Netlify UI, it doesn’t work.

Hi can you give this doc a read and see if this helps?