Skip to content

Conversation

@rjgtav
Copy link
Contributor

@rjgtav rjgtav commented Jan 6, 2026

What?

Improves the CLI detection in the Cloudflare template

Why?

To also support running scripts via payload run

How?

By looking for Payload's bin.js inside process.argv instead of just looking for the generate/migrate commands.

Discord discussion: https://discord.com/channels/967097582721572934/1439728398405468291

@paulpopus paulpopus merged commit 5d21ed1 into payloadcms:main Jan 7, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants