LinuxCommandLibrary

surge

surge

TLDR

Upload a new site to surge.sh

$ surge [path/to/my_project]
copy


Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain)
$ surge [path/to/my_project] [my_custom_domain.com]
copy


List your surge projects
$ surge list
copy


Remove a project
$ surge teardown [my_custom_domain.com]
copy

Copied to clipboard