Skip to content

isadovskiy/gulp-cloudinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example:
=============
var gulpCloudinary = require('gulp-cloudinary'),
	gulp = require('gulp');

var config = { 
	cloud_name: '', 
	api_key: '', 
	api_secret: ''
};

var defaultTags = ['projectX1'];

var builderDefault = new gulpCloudinary(config, defaultTags);

gulp.task('clean', function(){
	builderDefault.deleteOldByTag();
});

gulp.task('upload_images', function() {
  	return gulp.src(['./img/*.jpg', './img/*.gif', './img/*.png'])
  		.pipe(builderDefault.uploader())
  		.pipe(gulp.dest('./dest/'))
});

About

Gulp plugin to integrate with Cloudinary service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published