Hello,
I'm trying to set the credentials using dotenv (in .env.development and .end.production files).
However, the deployment script ("deploy": "npm run -n \"-r dotenv/config\" && npm run build && gatsby-plugin-s3 deploy") is not picking them up (I confirmed this by passing them explicitly to npm run deploy).
At the top of gastby-config.js I have:
require("dotenv").config({
path: `.env.${process.env.NODE_ENV}`,
}),
Did I miss anything? Thanks!