small improvements, including giving a more explicit error message about NoNestedFolder. fixed a bug where --custom-domain --domain wasn't working

This commit is contained in:
2023-03-31 19:39:21 +02:00
parent 20c282250e
commit 133097b0d9
3 changed files with 29 additions and 12 deletions

View File

@@ -19,9 +19,24 @@ the site is published: http://6426ed336771f2380224fb84--scintillating-mochi-760b
```bash
> pub --root-dir mysite --custom-domain dude.helpers.fun
the site is published: http://6426ee6a10e4e43866b46a42--startling-gingersnap-425138.netlify.app
the custom domain was set to dude.helpers.fun.
the site is published at dude.helpers.fun.
```
If you only have one domain set up with Netlify, there's no need to include anything but the subdomain part:
```bash
> pub --root-dir mysite --custom-domain dudette
the site is published: http://642718842cb34f02bc6b0137--cheery-daifuku-f3417f.netlify.app
the site is published at dudette.helpers.fun.
```
## Add A Custom Domain To An Already Published Site!
```bash
> pub --custom-domain hey.helpers.fun --domain startling-gingersnap-425138.netlify.app
```
# But First, a Bit of Configuration
To do this magic, you have to first