gulp-highwinds
v0.1.0
Published
A plugin for Gulp that uploads files to Highwinds
Downloads
3
Readme
gulp-highwinds
Highwinds plugin for gulp based on gulp-cloudfiles.
Install
npm install --save-dev gulp-highwinds
Config
Setup a highwinds.json
file or load these through another config file or env vars.
{
"username": "HIGHWINDS-USERNAME",
"password": "HIGHWINDS-PASSWORD",
"authUrl": "HIGHWINDS-AUTH-URL",
"container": "HIGHWINDS-CONTAINER"
}
Usage
var fs = require('fs')
var gulp = require('gulp');
var openstack = require("gulp-highwinds");
var highwinds = JSON.parse(fs.readFileSync('./rackspace.json'));
var options = {}
gulp.task('highwinds', function() {
return gulp.src('./dist/**', {read: false})
.pipe(openstack(highwinds, options));
});
Options
headers
- Headers to set to each file uploaded
- Type: object
- Default:
{}
uploadPath
Type: String
Default:
""