gulp-surge

0.1.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-surge

Homepage

surge.sh

Weekly Downloads

193

Version

0.1.4

License

MIT

Unpacked Size

4.58 kB

Total Files

9

Last publish

Collaborators

  • kennethormandy
  • sintaxi