1
0
Fork 0

Add dist to gruntfile

This commit is contained in:
Andrew Tomaka 2015-07-07 17:01:18 -04:00
parent c8cd258e6e
commit 6a5c2bd8ba

View file

@ -92,6 +92,18 @@ module.exports = (grunt) ->
}] }]
buildcontrol:
options:
dir: 'dist'
commit: true
push: true
message: 'Built from %sourceCommit% on branch %sourceBranch%'
pages:
options:
remote: 'git@github.com:atomaka/vagrant-for-devops.git'
branch: 'gh-pages'
# Load all grunt tasks. # Load all grunt tasks.
@ -136,6 +148,12 @@ module.exports = (grunt) ->
] ]
grunt.registerTask 'deploy',
'Deploy to Github Pages', [
'dist'
'buildcontrol'
]
# Define default task. # Define default task.
grunt.registerTask 'default', [ grunt.registerTask 'default', [