Skip to content

sjlu/gulp-netlify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gulp-netlify

A gulp plugin that helps you upload your site to netlify. Especially useful if you have a build and deployment structure already in place.

For example, instead of using netlify's build system which caps you at whichever plan you currently are at, why not use CircleCI to do your builds and have it deploy via netlify's API.

Usage

npm install gulp-netlify --save
var netlify = require('gulp-netlify')
gulp.task('deploy', function () {
  gulp.src('./public/**/*')
    .pipe(netlify({
      site_id: NETLIFY_SITE_ID,
      access_token: NETLIFY_ACCESS_TOKEN
    }))
})

You can obtain your NETLIFY_SITE_ID from the "Site info" section on your site can obtain your NETLIFY_ACCESS_TOKEN under Oauth apps

License

MIT

About

A gulp plugin that helps you upload your site to netlify.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •