tldr/pages/common/surge.md

21 lines
407 B
Markdown

# surge
> Simple command line web publishing.
> Homepage: <https://surge.sh>.
- 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}}`