       src                : '**/*'
       options            :
         base             : 'build/docs'
-        message          : process.env.COMMIT_MESSAGE
+        message          : process.env.COMMIT_MESSAGE or COMMIT_MESSAGE
         repo             : "https://#{process.env.GH_TOKEN}@github.com/fatihacet/spark.git"
         silent           : yes
         dotfiles         : no

      'karma'
      'coveralls'
      'jsdoc'
      'gh-pages'
    ]


COMMIT_MESSAGE = 'Same as last commit with changes.'

module.exports = (grunt) ->

