diff --git a/.grunt/grunt-gh-pages/gh-pages/src b/.grunt/grunt-gh-pages/gh-pages/src index 9625365..96417b1 160000 --- a/.grunt/grunt-gh-pages/gh-pages/src +++ b/.grunt/grunt-gh-pages/gh-pages/src @@ -1 +1 @@ -Subproject commit 9625365d8d18722018d7c0a2e11a62aac657d70d +Subproject commit 96417b1836232740cc63c448573d77b1f2562f99 diff --git a/Gruntfile.js b/Gruntfile.js index 641991a..8a67b15 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -414,7 +414,8 @@ module.exports = function (grunt) { '*.{ico,png,txt}', '*.html', 'images/{,*/}*.{webp}', - 'styles/fonts/{,*/}*.*' + 'styles/fonts/{,*/}*.*', + 'CNAME', ] }, { expand: true, @@ -457,7 +458,15 @@ module.exports = function (grunt) { configFile: 'test/karma.conf.js', singleRun: true } - } + }, + + ghpages: { + options: { + base: 'dist' + }, + src: ['**'] + }, + }); @@ -515,6 +524,11 @@ module.exports = function (grunt) { 'build' ]); + grunt.registerTask('deploy', [ + 'ghpages', + ]); + +/* grunt.initConfig({ 'gh-pages': { options: { @@ -523,5 +537,5 @@ module.exports = function (grunt) { src: ['**'] } }); - +*/ }; diff --git a/app/CNAME b/app/CNAME new file mode 100644 index 0000000..1f33774 --- /dev/null +++ b/app/CNAME @@ -0,0 +1 @@ +happybots.io