From 1e38a134d29b6c8104e74fdb6a4fb5201f65f49c Mon Sep 17 00:00:00 2001 From: Slawomir Demichowicz Date: Mon, 28 Dec 2020 21:51:27 +0000 Subject: [PATCH 1/2] Add note about domain problem --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index 3e168725..12719938 100644 --- a/readme.md +++ b/readme.md @@ -387,3 +387,12 @@ Note that this plugin requires Git 1.9 or higher (because it uses the `--exit-co The `gh-pages` module writes temporary files to a `node_modules/.cache/gh-pages` directory. The location of this directory can be customized by setting the `CACHE_DIR` environemnt variable. If `gh-pages` fails, you may find that you need to manually clean up the cache directory. To remove the cache directory, run `node_modules/gh-pages/bin/gh-pages-clean` or remove `node_modules/.cache/gh-pages`. + + +### when deploying to github pages with custom domain + +Modify the deployment line to your deploy script if you use custom domain. This will prevent deployment to remove the domain forom settings in github. + +``` +echo 'your_cutom_domain.online' > ./build/CNAME && gh-pages -d build" +``` From db0b48346f15e5de9979a72b95de033c11de6bcd Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Mon, 24 May 2021 12:26:05 -0600 Subject: [PATCH 2/2] Update readme.md --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 98eecb18..1a4ab421 100644 --- a/readme.md +++ b/readme.md @@ -390,7 +390,7 @@ If `gh-pages` fails, you may find that you need to manually clean up the cache d ### Deploying to github pages with custom domain -Modify the deployment line to your deploy script if you use custom domain. This will prevent deployment to remove the domain forom settings in github. +Modify the deployment line to your deploy script if you use custom domain. This will prevent the deployment from removing the domain settings in GitHub. ``` echo 'your_cutom_domain.online' > ./build/CNAME && gh-pages -d build" @@ -435,4 +435,3 @@ You will need to utilize the `--` option to pass any additional arguments: ``` See [Pull Request #368](https://github.com/tschaub/gh-pages/pull/368) for more information. -