Skip to content

Commit 3d71e70

Browse files
authored
docs: Add CNAME details for newbies
1 parent b6958bc commit 3d71e70

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,10 @@ The `exclude_assets` option supports glob patterns.
285285

286286
### ⭐️ Add CNAME file `cname`
287287

288-
To add `CNAME` file, we can set the `cname` option.
288+
To add the `CNAME` file, we can set the `cname` option.
289+
Alternatively, put your `CNAME` file into your `publish_dir`. (e.g. `public/CNAME`)
289290

290-
For more details about `CNAME`, read the official documentation: [Managing a custom domain for your GitHub Pages site - GitHub Help](https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site)
291+
For more details about the `CNAME` file, read the official documentation: [Managing a custom domain for your GitHub Pages site - GitHub Help](https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site)
291292

292293
```yaml
293294
- name: Deploy

0 commit comments

Comments
 (0)