/gulp-surge

Easily deploy to Surge with Gulp.

Primary LanguageJavaScriptMIT LicenseMIT

Gulp Surge

The Gulp plugin for Surge.

Getting started

Publish a static site or client-side application to Surge. First, install the plugin using npm:

npm install --save-dev gulp-surge

Then, require it in your Gulpfile and add it as a task:

const surge = require('gulp-surge')

const deploy = () => {
  return surge({
    project: './build',         // Path to your static build directory
    domain: 'example.surge.sh'  // Your domain or Surge subdomain
  })
}

License

The MIT License (MIT)

Copyright © 2015 Chloi