Change Repo for CI
Why is there no option to change the repo the pages is connected to?
It would be good if there was an option to change the repo the pages is connected to, instead of having to delete it and create a new one
11 Replies
@GameRoMan you should be able to modify which repository you point to with Workers CI now
I'm currently using Pages, instead of Workers
Would be nice to have a
change repository
button in Build
section in Settings
fwiw because of
?pages
As announced during Developer Week, Cloudflare recommends all new projects use Workers Assets. Cloudflare Pages will continue to be supported, but, going forward, all of our investment, optimizations, and feature work will be dedicated to improving Workers. If there is something missing that you think Workers needs, please send it in #workers-and-pages-feature-suggestions
It's unlikely to be something added at this point/CF is pushing Workers to be used instead
(it's also been a constraint for years now, something internal I'd imagine)
I have a simple static website, https://github.com/rmandotdev/editor for example
I've read the migration guide but I still don't understand what do I need to change or add to continue using it the same way i was doning it with Pages
Do i just create a
wrangler.toml
file and that's it?Cloudflare Docs
Migrate from Pages to Workers
A guide for migrating from Cloudflare Pages to Cloudflare Workers. Includes a compatibility matrix for comparing the features of Cloudflare Workers and Pages.
In this case, this would work as a
wrangler.jsonc
: Is choosing between .jsonc and .toml just a matter of personal preference or is one more recommended than the other?
We generally recommend
json/jsonc
now instead of toml
, mostly because many people who build on Cloudflare are more proficient with JSON, rather than toml
. toml
has a fair few foot-guns, which can break your config if you aren't carefulOk, thank you