From 3d71e70db9f003fea342bde483a7c4a1978804ac Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Fri, 26 Mar 2021 14:46:56 +0900 Subject: [PATCH] docs: Add CNAME details for newbies --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20c6838..e33f73e 100644 --- a/README.md +++ b/README.md @@ -285,9 +285,10 @@ The `exclude_assets` option supports glob patterns. ### ⭐️ 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 - name: Deploy