Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.

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: ''  // Your domain or Surge subdomain


The MIT License (MIT)

Copyright © 2015 Chloi