Created
October 21, 2016 11:12
-
-
Save jonburger/ef1e4e0484cef18fd77d6f217fab9716 to your computer and use it in GitHub Desktop.
Revisions
-
jonburger created this gist
Oct 21, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ gulp.task('surge', ['build'], function() { var domain = fs.readFileSync('CNAME', 'utf8'); return surge({ project: './dist', domain: domain }); }); gulp.task('deploy', ['surge'], function() { console.log('I run before surge has finished deploying'); });