need help with something

Hello guys so i made a website today! but im still not sure how to use the workers and pages section. i uploaded my site code to cloudflare but cant seem to edit anything. how am i able to edit my website code? please lmk!
No description
7 Replies
Chaika
Chaika•12mo ago
👋 If you're using Direct Upload (created by just uploading files), you can make a new Deployment (from the Pages overview, "create new deployment"), and upload all of the files again. Magic link to overview: https://dash.cloudflare.com/?to=/:account/pages/view/:pages-project/ This is one of the reasons why the Git integration is recommended, if you use Github/Gitlab you can just commit changes and Pages built in CI/CD will clone your repo and run your build based off the command/etc you give it You might also want to be careful about what you're uploading, guessing .vscode is not supposed to be part of your website lol
speculate
speculateOP•12mo ago
so can i delte my current project and transfer everything to a github repo? or is there a way to change it?
Chaika
Chaika•12mo ago
You can't convert a project sadly. You'd just have to create a new one
speculate
speculateOP•12mo ago
if i delete my current will my domain still work on the new one?
Chaika
Chaika•12mo ago
You can readd the custom domain yea. Since it's direct upload it's not tied to anything, so you can wait until you have the Github project ready to, before you switch over and delete it
speculate
speculateOP•12mo ago
you guys should add the option to edit the code so theres less confusion :) just an idea
Chaika
Chaika•12mo ago
To clarify I'm not a CF Employee, just a friendly helper. I believe Pages doesn't have that because it's not intended to be used as a file locker (and being able to download/upload specific files would allow that), and its more meant to be used with Git Direct Upload can helpful sometimes if you were a company using Pages and setting up pages sites for all your customers, or just want to get something setup quick, but otherwise setting up a Github repo is a better experience in general with branch previews, rollbacks, etc. You have those with Direct Upload to a degree, but rolling back to a specific commit where you can see all changes between is a lot nicer
Want results from more Discord servers?
Add your server