diff --git a/app/CNAME b/app/CNAME new file mode 100644 index 0000000..58481f6 --- /dev/null +++ b/app/CNAME @@ -0,0 +1 @@ +project-fusion.fusionstrings.com diff --git a/app/fuses/fuse-header/styles/_header.scss b/app/fuses/fuse-header/styles/_header.scss new file mode 100644 index 0000000..eacee17 --- /dev/null +++ b/app/fuses/fuse-header/styles/_header.scss @@ -0,0 +1,3 @@ +header{ + border-bottom: 1px solid #000; +} diff --git a/app/styles/style.scss b/app/styles/style.scss index c19da1f..302ffcc 100644 --- a/app/styles/style.scss +++ b/app/styles/style.scss @@ -1,8 +1,3 @@ @import '../fuses/fuse-hello/hello'; -div { - lost-column: 1/4; -} -a { - display: flex; - color: rgba(155, 255, 236, 0.5); -} +@import '../fuses/fuse-header/styles/header'; + diff --git a/build/paths.js b/build/paths.js index d724d0a..df88050 100644 --- a/build/paths.js +++ b/build/paths.js @@ -42,5 +42,6 @@ export default { changelog: root('../CHANGELOG.md'), package: root('../package.json'), e2eSpecsSrc: 'test/e2e/src/*.js', - e2eSpecsDist: 'test/e2e/dist/' + e2eSpecsDist: 'test/e2e/dist/', + build: outputRoot + '**/*' }; diff --git a/build/tasks/clean.js b/build/tasks/clean.js index 74c1014..090c20b 100644 --- a/build/tasks/clean.js +++ b/build/tasks/clean.js @@ -3,4 +3,4 @@ import del from 'del'; import paths from '../paths'; // Clean output directory -gulp.task('clean', cb => del([paths.tmp, paths.output + '*', '!' + paths.output + '.git'], {dot: true}, cb)); +gulp.task('clean', cb => del([paths.tmp, paths.output + '*', '!' + paths.output + '.git', '!CNAME'], {dot: true}, cb)); diff --git a/build/tasks/deploy.js b/build/tasks/deploy.js new file mode 100644 index 0000000..a4f8b3d --- /dev/null +++ b/build/tasks/deploy.js @@ -0,0 +1,10 @@ +import gulp from 'gulp'; +import gulpLoadPlugins from 'gulp-load-plugins'; +import paths from '../paths'; + +const $ = gulpLoadPlugins(); + +gulp.task('deploy', () => { + return gulp.src(paths.build) + .pipe($.ghPages()); +}); diff --git a/build/tasks/release.js b/build/tasks/release.js index 746b4ae..f6a03a3 100644 --- a/build/tasks/release.js +++ b/build/tasks/release.js @@ -34,6 +34,7 @@ gulp.task('release', cb => { runSequence( 'bump', 'changelog', + 'deploy' cb ); }); diff --git a/package.json b/package.json index 68ab75b..f06d6fc 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "gulp-changed": "^1.3.0", "gulp-eslint": "^1.0.0", "gulp-flatten": "^0.1.1", + "gulp-gh-pages": "^0.5.2", "gulp-if": "^1.2.5", "gulp-imagemin": "^2.3.0", "gulp-load-plugins": "^1.0.0-rc.1",