Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated github.com to github.io #184

Merged
merged 1 commit into from
May 26, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It's easy to deploy with Hexo. It just needs 1 command to complete all the setti

### Configure

Edit `_config.yml`. Fill `repository` with GitHub repository. If repository is like `username.github.com`, fill `branch` with `master`, otherwise `gh-pages`.
Edit `_config.yml`. Fill `repository` with GitHub repository. If repository is like `username.github.io`, fill `branch` with `master`, otherwise `gh-pages`.

``` yaml
deploy:
Expand All @@ -20,7 +20,7 @@ deploy:
```

- **repository** - GitHub repository
- **branch** - If repository is like `username.github.com`, fill it with `master`, otherwise `gh-pages`
- **branch** - If repository is like `username.github.io`, fill it with `master`, otherwise `gh-pages`

### Deploy

Expand Down Expand Up @@ -55,7 +55,7 @@ If the domain is like `example.com`, add A record `204.232.175.78`.

#### Subdomain

If the domain is like `username.example.com`, add CNAME record `username.github.com`.
If the domain is like `username.example.com`, add CNAME record `username.github.io`.

Check [GitHub Pages][1] for more info.

Expand Down Expand Up @@ -120,4 +120,4 @@ hexo deploy --generate
```

[1]: https://help.github.com/articles/setting-up-a-custom-domain-with-pages
[2]: https://devcenter.heroku.com/
[2]: https://devcenter.heroku.com/