Skip to content

Commit fb3e76c

Browse files
authored
Added deploy task to gh-pages in Org pages
Added the task to deploy to Github Pages in Organizations pages like organization.github.io
1 parent 8d137ce commit fb3e76c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/docs/deploy-gatsby.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ repository dedicated to files for the site. The sites must be published from the
9696
kept in a branch named `source` or something similar. We also don't need to
9797
prefix links like we do with project sites.
9898

99+
```
100+
"scripts": {
101+
"deploy": "gatsby build && gh-pages -b master -d public",
102+
}
103+
```
104+
99105
The repository for these sites requires a special name. See
100106
https://help.github.com/articles/user-organization-and-project-pages/ for
101107
documentation on naming your site's repository.

0 commit comments

Comments
 (0)