diff --git a/src/docs/deployment.md b/src/docs/deployment.md index 6d7d5564e8..026b0450d7 100644 --- a/src/docs/deployment.md +++ b/src/docs/deployment.md @@ -191,6 +191,15 @@ Includes persisted cache across builds. Using [`peaceiris/actions-gh-pages`](htt
  1. Go to your repository’s Settings on GitHub.
  2. In the GitHub Pages section change:
  3. +
  4. Add "build-ghpages" command to your
    package.json scripts section + +```json +"scripts": { + "build-ghpages": "npx @11ty/eleventy --pathprefix=/your-repo-name/", +} +``` + +
  5. Create a new GitHub workflow file in
    .github/workflows/deploy-to-ghpages.yml {% raw %}