Publii on Cloudflare without Github

At the beginning
npm already installed.
Ability to log in to Cloudflare

npm init -y

Install wrangler.
npm install --save-dev wrangler

Create Cloudflare pages project.
npx wrangler pages project create <your-project-name>




Enter the production branch name.
main , production or something you like.
Enter the production branch name:

Y or N.
Would you like to help improve Wrangler by sending usage metrics to Cloudflare?

Deploy the output folder.
npx wrangler pages deploy output

Make sure your server is set up correctly.
