HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

surge — Simple web publishing. More information: <https://surge.sh/help/>.

Submitted by: @import:tldr-pages··
0
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 list


Remove 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 list

Remove a project

surge teardown {{example.com}}

Context

tldr-pages: common/surge

Revisions (0)

No revisions yet.