tldr/pages/common/surge.md

21 lines
402 B
Markdown
Raw Normal View History

# surge
2017-11-26 10:54:27 +00:00
> Simple web publishing.
> More information: <https://surge.sh>.
2017-11-26 10:54:27 +00:00
2017-11-27 22:34:04 +00:00
- Upload a new site to surge.sh:
2017-11-26 10:54:27 +00:00
`surge {{path/to/my_project}}`
2017-11-26 10:54:27 +00:00
- Deploy site to custom domain (note that the DNS records must point to the surge.sh subdomain):
2017-11-26 10:54:27 +00:00
`surge {{path/to/my_project}} {{my_custom_domain.com}}`
2017-11-26 10:54:27 +00:00
- List your surge projects:
`surge list`
- Remove a project:
`surge teardown {{my_custom_domain.com}}`