summaryrefslogtreecommitdiffstats
path: root/docs/content/hosting-and-deployment/hosting-on-github.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/hosting-and-deployment/hosting-on-github.md')
-rw-r--r--docs/content/hosting-and-deployment/hosting-on-github.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/content/hosting-and-deployment/hosting-on-github.md b/docs/content/hosting-and-deployment/hosting-on-github.md
index bd930b3f4..59433a9e7 100644
--- a/docs/content/hosting-and-deployment/hosting-on-github.md
+++ b/docs/content/hosting-and-deployment/hosting-on-github.md
@@ -38,11 +38,10 @@ Make sure your `baseURL` key-value in your [site configuration](/getting-started
[As described in the GitHub Pages documentation][ghpfromdocs], you can deploy from a folder called `docs/` on your master branch. To effectively use this feature with Hugo, you need to change the Hugo publish directory in your [site's][config] `config.toml` and `config.yaml`, respectively:
```
-publishDir: docs
+publishDir = "docs"
```
-
```
-publishDir = "docs"
+publishDir: docs
```
After running `hugo`, push your master branch to the remote repository and choose the `docs/` folder as the website source of your repo. Do the following from within your GitHub project:
@@ -217,7 +216,7 @@ cd ..
```
-You can then run `./deploy.sh "Your optional commit message"` to send changes to `<USERNAME>.github.io`. Note that you likely will want to commit changes to your `<YOUR-PROJECDT>` repository as well.
+You can then run `./deploy.sh "Your optional commit message"` to send changes to `<USERNAME>.github.io`. Note that you likely will want to commit changes to your `<YOUR-PROJECT>` repository as well.
That's it! Your personal page should be up and running at `https://yourusername.github.io` within a couple minutes.