tldr/pages/common/surge.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

415 B

surge

Simple command-line web publishing. More information: https://surge.sh.

  • Upload a new site to surge.sh:

surge {{path/to/my_project}}

  • 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}}

  • List your surge projects:

surge list

  • Remove a project:

surge teardown {{my_custom_domain.com}}