Files
cheatsheet-tldr/tldr/surge

26 lines
495 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# surge
> Simple web publishing.
> More information: <https://surge.sh>.
- 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):
`surge {{path/to/my_project}} {{my_custom_domain.com}}`
- List your surge projects:
`surge list`
- Remove a project:
`surge teardown {{my_custom_domain.com}}`