Skip to content

Commit

Permalink
Added deploy task to gh-pages in Org pages
Browse files Browse the repository at this point in the history
Added the task to deploy to Github Pages in Organizations pages like organization.github.io
  • Loading branch information
leandrw authored Jan 21, 2018
1 parent 8d137ce commit fb3e76c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/docs/deploy-gatsby.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ repository dedicated to files for the site. The sites must be published from the
kept in a branch named `source` or something similar. We also don't need to
prefix links like we do with project sites.

```
"scripts": {
"deploy": "gatsby build && gh-pages -b master -d public",
}
```

The repository for these sites requires a special name. See
https://help.github.com/articles/user-organization-and-project-pages/ for
documentation on naming your site's repository.
Expand Down

0 comments on commit fb3e76c

Please sign in to comment.