config Secrets's problem #29959
Unanswered
ruoduan-hub
asked this question in
Help
Replies: 2 comments 5 replies
-
Hi! I'm afraid you'll need to share some more details about your inquiry in order to help :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
We've got a doc about that here: https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables So generally speaking you'll want to use your environment variables inside gatsby-config like: module.exports = {
plugins: [
{
resolve: `your-plugin`,
options: {
key: process.env.YOUR_VAR,
},
},
],
} And if you then use GitHub actions you can define |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to use "secrets.xxx" of "github" in "gatsby-config.js" to hide the secret key?
Beta Was this translation helpful? Give feedback.
All reactions