envs

Cloudflare Pages — direct upload

cloudflarepages/deploy · version 1

envs add cloudflarepages/deploy

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
CLOUDFLARE_PAGES_PROJECT required config Which Pages project receives the upload.. where to get it
CLOUDFLARE_PAGES_API_TOKEN required secret Token with the Pages edit permission.. where to get it

The JSON the CLI reads