Skip to content

Commit

Permalink
Update README to match new uploading syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Aug 23, 2016
1 parent 72afc87 commit 3de11c5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,15 @@ how to create individual inject tags and inject specific files into them.
By default if you select Github Pages as your deployment option your site will
be pushed to a `gh-pages` branch, this works fine for any project pages but
won't work for your personal repo. If you want to use a `username.github.io`
site you'll have to change it to this:
site all you have to do is to uncomment the `branch` line.

```js
gulp.task('deploy', () => {
return gulp.src('dist/**/*')
.pipe(ghPages({
branch: "master"
}));
gulp.task('upload', (done) => {
ghPages.publish(path.join(__dirname + '/../../', 'dist'), {
dotfiles: true,
// branch: "master"
},
done);
});
```

Expand Down

0 comments on commit 3de11c5

Please sign in to comment.