Easily deploy to Surge with Gulp.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test Updates tasks and tests Oct 29, 2015
.gitignore Initial commit Oct 29, 2015
.travis.yml Updates Travis CI file Oct 29, 2015
LICENSE.md
README.md
appveyor.yml
gulpfile.js
index.js
package.json

README.md

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:

var surge = require('gulp-surge')

gulp.task('deploy', [], function () {
  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