Created
September 25, 2014 01:30
-
-
Save biilmann/78afde52327cbcbea5b6 to your computer and use it in GitHub Desktop.
BitBalloon Gulp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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