1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/surge.md
Agniva De Sarker dc0653e986
surge: update page
-  Made tokens to be snake case
- Simplified description
- Simplified DNS name description
2017-11-28 20:48:41 +05:30

375 B

surge

Simple command line web publishing.

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