Manual deploy doesn't consider newly changed environment variables in netlify admin UI

I changed some environment variables in netlify admin UI, then I manually upload my react build code. but it seems like website doesn’t get newly changed environment variables.

However, if I trigger a deploy from my Github repo, It always works. Why manual deploy doesn’t work ?

Yup, that’s expected: environment variables set in our are 100% irrelevant to manual deploys.

They are ONLY used during build :slight_smile:

If you are uploading a manual deploy, you’d need to pre-populate the values in your files.

1 Like