netlify remove variable after build code example
Example: netlify environment variables in develop
1 In the Netlify configuration file. ...
2 In your site dashboard under Settings > Build & deploy > Environment > Environment variables. ...
3 In team settings, under Settings > Sites > Global site settings > Shared environment variables.