mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
477 B
Plaintext
26 lines
477 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|