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
1 changed files with 18 additions and 0 deletions

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.
@ -136,6 +148,12 @@ module.exports = (grunt) ->
]
grunt.registerTask 'deploy',
'Deploy to Github Pages', [
'dist'
'buildcontrol'
]
# Define default task.
grunt.registerTask 'default', [