Skip webpage build commit if not needed.
This commit is contained in:
parent
f1e77f838f
commit
ff32f7a37c
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user