Skip to content

Commit

Permalink
script to deploy added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandoche Adittane committed Jul 14, 2016
1 parent f0dcfa5 commit 54edfe6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions .grunt/grunt-gh-pages/gh-pages/src
Submodule src added at 962536
13 changes: 12 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = function (grunt) {

// Time how long tasks take. Can help when optimizing build times
require('time-grunt')(grunt);
grunt.loadNpmTasks('grunt-gh-pages');

// Automatically load required Grunt tasks
require('jit-grunt')(grunt, {
Expand Down Expand Up @@ -224,7 +225,7 @@ module.exports = function (grunt) {
src: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
ignorePath: /(\.\.\/){1,2}bower_components\//
}
},
},

// Compiles Sass to CSS and generates necessary files if requested
compass: {
Expand Down Expand Up @@ -513,4 +514,14 @@ module.exports = function (grunt) {
'test',
'build'
]);

grunt.initConfig({
'gh-pages': {
options: {
base: 'dist'
},
src: ['**']
}
});

};
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"grunt-contrib-uglify": "^0.7.0",
"grunt-contrib-watch": "^0.6.1",
"grunt-filerev": "^2.1.2",
"grunt-gh-pages": "^1.1.0",
"grunt-google-cdn": "^0.4.3",
"grunt-jscs": "^1.8.0",
"grunt-newer": "^1.1.0",
Expand All @@ -27,8 +28,8 @@
"grunt-usemin": "^3.0.0",
"grunt-wiredep": "^2.0.0",
"jit-grunt": "^0.9.1",
"time-grunt": "^1.0.0",
"jshint-stylish": "^1.0.0"
"jshint-stylish": "^1.0.0",
"time-grunt": "^1.0.0"
},
"engines": {
"node": ">=0.10.0"
Expand Down

0 comments on commit 54edfe6

Please sign in to comment.