Skip to content

Commit

Permalink
Merge pull request #375 from demee/patch-1
Browse files Browse the repository at this point in the history
Add note about domain problem
  • Loading branch information
tschaub committed May 24, 2021
2 parents fce5177 + db0b483 commit 0adc373
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,14 @@ The `gh-pages` module writes temporary files to a `node_modules/.cache/gh-pages`

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`.

### Deploying to github pages with custom domain

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"
```

### Deploying with GitHub Actions

In order to deploy with GitHub Actions, you will need to define a user and set the git repository for the process. See the example step below
Expand Down

0 comments on commit 0adc373

Please sign in to comment.