1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +01:00

no email notifications, specific artifacts paths

This commit is contained in:
Matthias Kretschmann 2016-04-24 13:45:29 +02:00
parent fed19c381e
commit 5e8fdeb19e
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
3 changed files with 4 additions and 14 deletions

View File

@ -13,11 +13,13 @@ cache:
- _site/media/gen
addons:
artifacts:
paths:
- $HOME/build/kremalicious/kremalicious3/_site/media/gen
apt:
packages:
- libgsl0ldbl
- libgsl0-dev
artifacts: true
before_install:
- nvm install 5
@ -34,4 +36,5 @@ deploy:
notifications:
email: false
slack: kremalicious:LXLUCjkY5yaZaC9vHl9vIORr

View File

@ -180,18 +180,6 @@ gulp.task('css', function() {
.pipe(gulp.dest(DIST + '/assets/css/'))
});
gulp.task('uncss', function () {
if (isProduction) {
return gulp.src(DIST + '/assets/css/kremalicious3.min.css')
.pipe($.uncss({
html: [DIST + '/**/*.html'],
ignore: [/\.has\S+\W+\S+/, /is-ready/, /animation-slideDown/, /animation-bounceOutUp/, /transition/, /gpuacceleration/, /hide/, /show/, /search-popover/, /search-results/, /search-link/, /tooltip/]
}))
.pipe($.cssmin())
.pipe(gulp.dest(DIST + '/assets/css'));
}
});
//
// Scripts

View File

@ -49,7 +49,6 @@
"gulp-stylus": ">=2.0.3",
"gulp-svg-sprite": ">=1.2.2",
"gulp-uglify": ">=1.2.0",
"gulp-uncss": "^1.0.4",
"gulp-util": ">=3.0.6",
"merge-stream": ">=0.1.7",
"run-sequence": ">=1.1.0",