2017-11-28 20:48:41 +05:30
|
|
|
# surge
|
2017-11-26 21:54:27 +11:00
|
|
|
|
2017-11-28 20:48:41 +05:30
|
|
|
> Simple command line web publishing.
|
2019-06-03 02:06:36 +02:00
|
|
|
> 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
|
|
|
|
2017-11-28 20:48:41 +05:30
|
|
|
`surge {{path/to/my_project}}`
|
2017-11-26 21:54:27 +11:00
|
|
|
|
2017-11-28 20:48:41 +05:30
|
|
|
- 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
|
|
|
|
2017-11-28 20:48:41 +05:30
|
|
|
`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:
|
|
|
|
|
2017-11-28 20:48:41 +05:30
|
|
|
`surge teardown {{my_custom_domain.com}}`
|