How to deploy pages from command line?

My project contains a frontend directory (with src/ and build/ inside it) and a functions directory (containing cloudflare functions). I usually deploy my cloudflare pages by just making a commit and pushing an update to the branch. But I wanted to deploy without pushing and used this: wrangler pages deploy frontend --project-name project But now my deployed site is broken and blank. Maybe cause I only passed the frontend directory to the pages deploy command and it missed the funcions/ directory? How do I do this properly?
1 Reply
Cyb3r-Jak3
Cyb3r-Jak33mo ago
You are probably going to want wrangler pages deploy frontend/build --project-name project
Want results from more Discord servers?
Add your server