Repoint Gitlab repo to new repo on webhook configured pages site
Is it possible to repoint a cloudflare pages project to a different gitlab repo without destroying the pages site.
I updated my terraform and pushed changes to my pages site but its wont stop pointing to old repo url. I had to move my repo and i want to ensure my pages site is pointing to the new location
8 Replies
Not on Pages, but you can do so with Workers
Blahhh, so gotta create a new and migrate
Yeah, unfortunately. Though, I will note, once you are on Workers, you wouldn't have this problem anymore, and you also get the other benefits of being on Workers, like deploying on a route, non-Fetch handlers, etc.
I mean i have a mix of both. Are pages going away?
No, they just aren't really getting new features
So stuff like being able to change which repo a given Worker is pointed to was only added to Workers, it won't be brought to Pages
:NotLikeThis:
I mean, you don't have to move if you don't want to? You can run CI yourself, then deploy with
wrangler?Management requesting namespace change on repo.
And app is already deployed in prod. Ill basically need to duplicate deploy this thing and cut it over to delete the old, and then migrate this for minimal/no down time