mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 12:42:07 +02:00

- Made tokens to be snake case - Simplified description - Simplified DNS name description
19 lines
375 B
Markdown
19 lines
375 B
Markdown
# 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}}`
|