Guides

The CLI docs explain every command and the Platform docs explain how serving works. Guides are the third thing: complete walkthroughs of the task you actually showed up with, start to finish, with nothing assumed and nothing left dangling.

Every guide ends the same way, because every path through Surge ends the same way: your project propagated to every edge node of the CDN before the command finishes—live everywhere, instantly, with an undo.

Publish your framework's build

Any tool that produces a directory of static files works with Surge—these cover the details that differ, like where the CNAME file belongs so it survives your build:

Automate

Domains

Migrate

Using a tool that isn't covered? The recipe is always the same shape: build, then surge <output-directory> <domain>. If your tool makes a folder of files, you're already done—Getting Started is the generic version.