Migrating from CloudFlare Pages to Workers

I have two issues

  • I have migrated my main site but its not pushing updates to my domain. Even though every commit DOES trigger a new build.
  • I have setup a examplesite for one of my themes but its not pushing the built version to the custom domain.

This is the repository for the main site, and this is for the theme examplesite.

I have tried troubleshooting the theme issue by:

  • re-creating worker instance
  • change wrangler.toml location from / to examplesite
  • change location of the asset directory in wrangler.toml

for my main site, everything seems good to me so I have no idea where to even start troubleshooting.

I haven’t tested a Worker with a custom domain. Have you followed these instructions?

https://developers.cloudflare.com/workers/configuration/routing/custom-domains/

If so, have you tried configuring the custom domain using the wrangler file instead of the dashboard?

tried this now, its still not serving the latest site

I suggest you open a topic on Cloudflare’s forum.

did that but no luck. in the end, i removed all worker instances and added them back and it worked just fine. thanks for the help <3