Skip webpage build commit if not needed.

This commit is contained in:
ccd0 2015-03-11 18:09:00 -07:00
parent f1e77f838f
commit ff32f7a37c

View File

@ -384,12 +384,14 @@ module.exports = (grunt) ->
'shell:stable'
]
grunt.registerTask 'web', [
'markdown:web'
'copy:web'
'shell:commit-web'
'shell:web'
]
grunt.registerTask 'web', 'Move website changes to gh-pages.', ->
grunt.task.run 'markdown:web'
if grunt.file.read('test.html') isnt grunt.file.read('index.html')
grunt.task.run [
'copy:web'
'shell:commit-web'
]
grunt.task.run 'shell:web'
grunt.registerTask 'push', [
'shell:push'