Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pages Secret bindings missing reference to environments for local dev #18089

Open
Le0Developer opened this issue Nov 10, 2024 · 2 comments
Open
Assignees
Labels
content:edit Request for content edits documentation Documentation edits product:pages product:workers Related to Workers product

Comments

@Le0Developer
Copy link
Contributor

Existing documentation URL(s)

What changes are you suggesting?

In the workers documentation, there is a mention for using different environment, however that note is missing in pages:

You can set secrets per environment by creating additional files with the naming convention .dev.vars.<environment-name>.

That notice should be added to pages too. It might also make sense to either link to the workers docs or extract the info into a reusable component. I'll let whoever works on this decide 😄

Additional information

This came up in the Discord.

@ToriLindsay
Copy link
Contributor

Hi @mikenomitch @GregBrimble @WalshyDev - The content in the Workers doc reference above for "Local Development with Secrets" is already a partial. Would it make sense to replace the content in the Pages doc reference above with this partial instead?

@WalshyDev
Copy link
Member

@ToriLindsay sorry for the late reply - very backlogged on here. Makes sense to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:pages product:workers Related to Workers product
Projects
None yet
Development

No branches or pull requests

7 participants