Skip to content

Instantly share code, notes, and snippets.

@biilmann
Created September 25, 2014 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biilmann/78afde52327cbcbea5b6 to your computer and use it in GitHub Desktop.
Save biilmann/78afde52327cbcbea5b6 to your computer and use it in GitHub Desktop.
BitBalloon Gulp
'use strict';
var gulp = require('gulp'),
bb = require('bitballoon');
gulp.task('build', [], function() {
// Your build task
});
gulp.task('deploy', ['build'], function() {
bb.deploy({
access_token: "your-access-token",
site_id: "your-site-id",
dir: "dist"
}, function(err, deploy) {
if (err) { throw(err) }
// We're done!
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment