mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-01 04:43:43 +03:00
13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
|
var gulp = require('gulp');
|
||
|
var release = require('gulp-github-release');
|
||
|
var path = require('path');
|
||
|
var paths = require('../paths');
|
||
|
|
||
|
gulp.task('github-release', ['build'], function(){
|
||
|
gulp.src(paths.redocBuilt + '.min.js')
|
||
|
.pipe(release({
|
||
|
token: process.env.GH_TOKEN,
|
||
|
manifest: require(path.join(__dirname, '../../package.json'))
|
||
|
}));
|
||
|
});
|