You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gulp-netlify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-netlify

A gulp plugin to help upload your site to netlify

1.1.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

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

Keywords

gulp

FAQs

Package last updated on 30 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts