在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):shinnn/gulp-gh-pages开源软件地址(OpenSource Url):https://github.com/shinnn/gulp-gh-pages开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-gh-pagesgulp plugin to publish contents to Github pages Installation
UsageDefine a const {src, task}= require('gulp');
const ghPages = require('gulp-gh-pages');
task('deploy', () => src('./dist/**/*').pipe(ghPages())); Now, you should be able to call your task by doing:
APIconst ghPages = require('gulp-gh-pages'); ghPages([options])options: options.remoteUrlType: By default options.branchType: The branch where deploy will by done. Change to "master" for options.cacheDirType: Set the directory path to keep a cache of the repository. If it doesn't exist, gulp-gh-pages automatically create it. options.pushType: Allow you to make a build on the defined branch without pushing it to master. Useful for dry run. options.forceType: Force adding files to the options.messageType: Edit commit message. LicenseMIT License © 2014 Micheal Benedict, 2015 - 2018 Shinnosuke Watanabe |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论