Juul
CDCloudflare Developers
•Created by Juul on 4/10/2024 in #pages-help
Is it possible to only deploy the Pages config in wrangler.toml when using `wrangler pages deploy`?
Ah nice. Thanks for the help 🙂
7 replies
CDCloudflare Developers
•Created by Juul on 4/10/2024 in #pages-help
Is it possible to only deploy the Pages config in wrangler.toml when using `wrangler pages deploy`?
I have a few secrets that should be there at build time that I don't want to commit with wrangler.toml as environment variables. I can add them manually to the Pages config from the dashboard as encrypted values as a workaround. But it would be preferred to have all config for Pages in one wrangler.toml.
Is this the intended solution for that? This is something I would be able to execute from our CI outside of Cloudflare.
https://developers.cloudflare.com/workers/configuration/secrets/#via-wrangler
7 replies