snippetbashTip
surge — Simple web publishing. More information: <https://surge.sh/help/>.
Viewed 0 times
simplepublishingcommandcliinformationsurgewebmore
Problem
How to use the
surge command: Simple web publishing. More information: <https://surge.sh/help/>.Solution
surge — Simple web publishing. More information: <https://surge.sh/help/>.Upload a new site to surge.sh:
surge {{path/to/project}}Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain):
surge {{path/to/project}} {{example.com}}List your surge projects:
surge listRemove a project:
surge teardown {{example.com}}Code Snippets
Upload a new site to surge.sh
surge {{path/to/project}}Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain)
surge {{path/to/project}} {{example.com}}List your surge projects
surge listRemove a project
surge teardown {{example.com}}Context
tldr-pages: common/surge
Revisions (0)
No revisions yet.