cloudflare / cloudflare/cloudflare-docs

Clarification on Environment variables

Open
#30,714 3 comments 2 reactions 4 assignees Claimed by @WalshyDev View on GitHub
content:edit documentation product:pages stale
Dominant language
MDX
Stars
5.2k
Forks
16.7k
Avg merge
2d 6h
Merged PRs (30d)
337

Description

### Existing documentation URL(s)

https://developers.cloudflare.com/pages/configuration/build-configuration/

### What changes are you suggesting?

The documentation refers to Settings > Environment variables

Image

However, the UI calls it "Variables and Secrets" and places this section _outside_ the Build section.

Image

### Additional information

Also, currently variables set using this UI (as a secret or plain text variable) are not available during build. I ended up having to resort to customizing the build command to include the environment variables there.

Would be nice if the documentation could state the expected behavior, since it's a little ambiguous at the moment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.