module.exports = function (grunt) {
  'use strict';

  grunt.loadNpmTasks('grunt-contrib-connect');
  grunt.loadNpmTasks('grunt-gh-pages');

  grunt.initConfig({
    'connect': {
      demo: {
        options: {
          open: {
            target: 'http://localhost:8000/'
          },
          keepalive: true
        }
      }
    },
    'gh-pages': {
      src: [
        'index.html',
        'bower_components/**/*'
      ]
    }
  });

  grunt.registerTask('serve', ['connect']);
  grunt.registerTask('deploy', ['gh-pages']);
};

module.exports = function (grunt) {
  'use strict';

  grunt.loadNpmTasks('grunt-contrib-connect');
  grunt.loadNpmTasks('grunt-gh-pages');

  grunt.initConfig({
    'connect': {
      demo: {
        options: {
          open: {
            target: 'http://localhost:8000/'
          },
          keepalive: true
        }
      }
    },
    'gh-pages': {
      src: [
        'index.html',
        'bootstrap-rating.js',
        'bootstrap-rating.css',
        'bower_components/**/*'
      ]
    }
  });

  grunt.registerTask('serve', ['connect']);
  grunt.registerTask('deploy', ['gh-pages']);
};

Configure missed files in deploy task
Configure missed files in deploy task
