2017-11-28 15:18:41 +00:00
|
|
|
# surge
|
2017-11-26 10:54:27 +00:00
|
|
|
|
2023-07-16 18:23:40 +01:00
|
|
|
> Simple web publishing.
|
2019-06-03 01:06:36 +01:00
|
|
|
> 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
|
|
|
|
2017-11-28 15:18:41 +00:00
|
|
|
`surge {{path/to/my_project}}`
|
2017-11-26 10:54:27 +00:00
|
|
|
|
2017-11-28 15:18:41 +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
|
|
|
|
2017-11-28 15:18:41 +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:
|
|
|
|
|
2017-11-28 15:18:41 +00:00
|
|
|
`surge teardown {{my_custom_domain.com}}`
|