summaryrefslogtreecommitdiffstats
path: root/docs/content/en/hosting-and-deployment/hosting-on-github.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-06-16 14:19:31 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-06-16 14:19:31 +0200
commit0a9172672a7f2ed85cf675c96bd01b64641256bb (patch)
treeed778850d877a411838ae53f0385de0c68b32465 /docs/content/en/hosting-and-deployment/hosting-on-github.md
parent6408c1cbc87f03fc9e92471165886ddbe7cdbeae (diff)
parentefa74c5c6e6ff1daddeb5834ea7c69bed2acf171 (diff)
downloadhugo-0a9172672a7f2ed85cf675c96bd01b64641256bb.tar.gz
hugo-0a9172672a7f2ed85cf675c96bd01b64641256bb.zip
Merge commit 'efa74c5c6e6ff1daddeb5834ea7c69bed2acf171'
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.md2
1 files changed, 1 insertions, 1 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 9630c57ff..d8f6699c5 100644
--- a/docs/content/en/hosting-and-deployment/hosting-on-github.md
+++ b/docs/content/en/hosting-and-deployment/hosting-on-github.md
@@ -57,7 +57,7 @@ This is a much simpler setup as your Hugo files and generated content are publis
4. Paste your existing Hugo project into the new local `<YOUR-PROJECT>` repository. Make sure your website works locally (`hugo server` or `hugo server -t <YOURTHEME>`) and open your browser to <http://localhost:1313>.
5. Once you are happy with the results:
* Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to kill the server
- * Before proceeding run `rm -rf public` to completely remove the `public` directory
+ * 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).
### Put it Into a Script