1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/surge.md

21 lines
415 B
Markdown
Raw Normal View History

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