We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72afc87 commit 3de11c5Copy full SHA for 3de11c5
README.md
@@ -212,14 +212,15 @@ how to create individual inject tags and inject specific files into them.
212
By default if you select Github Pages as your deployment option your site will
213
be pushed to a `gh-pages` branch, this works fine for any project pages but
214
won't work for your personal repo. If you want to use a `username.github.io`
215
-site you'll have to change it to this:
+site all you have to do is to uncomment the `branch` line.
216
217
```js
218
-gulp.task('deploy', () => {
219
- return gulp.src('dist/**/*')
220
- .pipe(ghPages({
221
- branch: "master"
222
- }));
+gulp.task('upload', (done) => {
+ ghPages.publish(path.join(__dirname + '/../../', 'dist'), {
+ dotfiles: true,
+ // branch: "master"
+ },
223
+ done);
224
});
225
```
226
0 commit comments