Skip to content

Instantly share code, notes, and snippets.

@sillygwailo
Created March 3, 2015 21:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sillygwailo/2216983a15d0c163a01f to your computer and use it in GitHub Desktop.
Save sillygwailo/2216983a15d0c163a01f to your computer and use it in GitHub Desktop.
questions.justagwailo.com Grunt deployment and notification
module.exports = function(grunt) {
grunt.initConfig({
notify: {
surge: {
options: {
title: 'questions.justagwailo.com',
message: 'Deployment complete.',
}
},
},
surge: {
'justagwailo-questions': {
options: {
project: '_site/',
domain: domain
}
}
}
});
grunt.loadNpmTasks('grunt-surge');
grunt.loadNpmTasks('grunt-notify');
grunt.registerTask('deploy', [
'surge',
'notify:surge']
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment