Trying to figure out how to upload modified pages of a website to my Pages project

What is the name of the domain?

not setup yet

What is the issue you’re encountering

uploading modified parts of a website

What steps have you taken to resolve the issue?

I am looking for help on uploading modified parts of a project.
I have uploaded a small test website to Pages. I want to understand the process of modifying and updating the site over time. Lets says I have modified one JSON file and added few images to the images subfolder of the website, how do I upload the modified and new files and rebuild the site?

I link my Pages sites to a git repository. This results in the updated site site being redeployed automatically. How you manage your deployment will determine the specific steps that you take, but you redeploy anytime you make a change. If you are using Direct Upload, you would need to upload the zip file or project folder to publish your changes.

thanks for the reply.

First, my site has more assets than the github storage allows so if i use github I will have to figure out a way of adding all the bigger assts to the project and assimilating then into the folder structure of the site through another route

Second - taking the direct upload route I can find anywhere on the workers and pages portal a way of uploading updated versions - all I see is option to create new projects everytime

I haven’t used the direct upload method, so I cannot outline the specific steps required. My understanding is that you upload the latest iteration of your entire project when it has new content.

Perhaps storing your many assests in R2 would work if you want to revist using Github with Cloudflare Pages.

For direct upload, you just need to upload a new deployment in the same way you uploaded it originally. Deployments are atomic and you cannot change only a few files. So from the Dashboard, just click “Create new deployment” and upload the whole project.

1 Like

thanks for this - this seems like a real handicap - with a site that has 50gb of assets its a real head ache uploading the lot with every change… maybe the only solution is using R2 like epic.network suggested

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.