Website deployment server not loading with workers
So I wanted to add a staging environment for development purposes for one of my domains.
Main website that’s under development is working perfectly with Cloudflare workers. I cloned the Git repo that’s currently connected for the domain name and then went to Workers & Pages > Create > Pages > Connect to Git.
After connecting, the logs read “Success: Your site was deployed”
However, when I go to visit the address supplied by Cloudflare it gives me a 404 Error.
I was under the impression once I connected GitHub repo under Workers & Pages, that it’ll deploy a live server automatically and I’ll be charged according to usage.
Apparently that is not the case. How do I get the Cloudflare Workers server to enable for this newly connected repo?
1 Reply
Main website that’s under development is working perfectly with Cloudflare workers. I cloned the Git repo that’s currently connected for the domain name and then went to Workers & Pages > Create > Pages > Connect to Git.So you are using Workers, and then you setup a Cloudflare Pages project to try to clone it? Pages and Workers are very different You haven't set a build command and your repo which is public makes no sense in the context of Pages, so it's just serving the files: https://shiplabels.pages.dev/package.json