Upload Static Website Cloudflare Pages Manually (Without Github)

Install Wrangler.

npm install -g wrangler

Setup project

wrangler pages project create

Upload files:

  • [dist] is directory of files to be uploaded
wrangler pages publish [dist]
wrangler pages publish [dist] --project-name [project-name]

References:

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.