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'
|
'shell:stable'
|
||||||
]
|
]
|
||||||
|
|
||||||
grunt.registerTask 'web', [
|
grunt.registerTask 'web', 'Move website changes to gh-pages.', ->
|
||||||
'markdown:web'
|
grunt.task.run 'markdown:web'
|
||||||
'copy:web'
|
if grunt.file.read('test.html') isnt grunt.file.read('index.html')
|
||||||
'shell:commit-web'
|
grunt.task.run [
|
||||||
'shell:web'
|
'copy:web'
|
||||||
]
|
'shell:commit-web'
|
||||||
|
]
|
||||||
|
grunt.task.run 'shell:web'
|
||||||
|
|
||||||
grunt.registerTask 'push', [
|
grunt.registerTask 'push', [
|
||||||
'shell:push'
|
'shell:push'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user