A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @batiste_dek
@batiste_dek @Netlify Yes. This is where Environment Variables are your friend.

You can add environment variables via the admin interface and then access them in your code with process.env.YOUR_ENV_VAR_NAME

And dotenv can help with local dev and keeping them out of your repo.
https://www.npmjs.com/package/dotenv
Embedded image from social media

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.