Added the lost options force

This commit is contained in:
ntnyq 2019-02-20 20:35:57 +08:00 committed by ntnyq
parent 9e673d252d
commit 1cbd2cd12a
2 changed files with 5 additions and 0 deletions

View File

@ -19,5 +19,8 @@ gulp.src("test.css")
gulp.src("test.css")
.pipe(ghPages({push: false}));
gulp.src("test.css")
.pipe(ghPages({ force: true }));
gulp.src("test.css")
.pipe(ghPages({message: "master"}));

View File

@ -1,6 +1,7 @@
// Type definitions for gulp-gh-pages
// Project: https://github.com/rowoot/gulp-gh-pages
// Definitions by: Asana <https://asana.com>
// Ntnyq <https://github.com/ntnyq>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
@ -12,6 +13,7 @@ interface Options {
branch?: string;
cacheDir?: string;
push?: boolean;
force?: boolean;
message?: string;
}