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

feat: add support for Cloudflare Pages CI #134

Merged

Conversation

AleksandrHovhannisyan
Copy link
Contributor

@AleksandrHovhannisyan AleksandrHovhannisyan commented Jan 11, 2025

Note: Cloudflare Pages technically already injects process.env.CI = 'true'. However, this PR allows tools to specifically detect if the CI environment is on Cloudflare Pages by checking for the presence of the CF_PAGES environment variable. Per Cloudflare's documentation, that variable is injected by default.

Verified

This commit was signed with the committer’s verified signature.
AleksandrHovhannisyan Aleksandr Hovhannisyan
@sibiraj-s sibiraj-s merged commit 75c9de8 into watson:master Jan 13, 2025
2 checks passed
@AleksandrHovhannisyan AleksandrHovhannisyan deleted the feat/cloudflare-pages branch January 13, 2025 14:54
@jamestalmage
Copy link

This looks great? Can you publish a release?

@sibiraj-s
Copy link
Collaborator

My bad, this slipped. Published under v4.2.0. Thanks @AleksandrHovhannisyan for the PR and sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants