summaryrefslogtreecommitdiffstats
path: root/docs/content/en/hosting-and-deployment/hosting-on-github.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/hosting-and-deployment/hosting-on-github.md')
-rw-r--r--docs/content/en/hosting-and-deployment/hosting-on-github.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/en/hosting-and-deployment/hosting-on-github.md b/docs/content/en/hosting-and-deployment/hosting-on-github.md
index d8f6699c5..7a15d1b75 100644
--- a/docs/content/en/hosting-and-deployment/hosting-on-github.md
+++ b/docs/content/en/hosting-and-deployment/hosting-on-github.md
@@ -59,6 +59,7 @@ This is a much simpler setup as your Hugo files and generated content are publis
* Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to kill the server
* Before proceeding run `rm -rf public` to completely remove the `public` directory
6. `git submodule add -b master https://github.com/<USERNAME>/<USERNAME>.github.io.git public`. This creates a git [submodule][]. Now when you run the `hugo` command to build your site to `public`, the created `public` directory will have a different remote origin (i.e. hosted GitHub repository).
+7. Make sure the `baseURL` in your config file is updated with: `<USERNAME>.github.io`
### Put it Into a Script