2025-03-14 21:59:59 -06:00
|
|
|
# surge
|
|
|
|
|
|
|
|
|
|
> Simple web publishing.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://surge.sh/help/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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):
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`surge {{path/to/my_project}} {{example.com}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List your surge projects:
|
|
|
|
|
|
|
|
|
|
`surge list`
|
|
|
|
|
|
|
|
|
|
- Remove a project:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`surge teardown {{example.com}}`
|