Where do I set Environment Variables as seen in this guide?

I am trying to add the “Commit SHA on the footer” section from this to my site but am unsure where to set the environmental variables.

Where is your site deployed?

You need to use command substitution. So wrap each env var value in

$()

Also see: https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html

1 Like

For some reason, instead of actually executing it looks like its just setting that as a string and returning it. (As you can see on the bottom of my site)

Hmm. You’ll have to read Netlify docs on how to do it then