docs: Add CNAME details for newbies

This commit is contained in:
Shohei Ueda 2021-03-26 14:46:56 +09:00 committed by GitHub
parent b6958bc4fa
commit 3d71e70db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,9 +285,10 @@ The `exclude_assets` option supports glob patterns.
### ⭐️ Add CNAME file `cname` ### ⭐️ Add CNAME file `cname`
To add `CNAME` file, we can set the `cname` option. To add the `CNAME` file, we can set the `cname` option.
Alternatively, put your `CNAME` file into your `publish_dir`. (e.g. `public/CNAME`)
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) 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)
```yaml ```yaml
- name: Deploy - name: Deploy