From f2126e2459399f97ee8fda6f6a8852a84d786ae5 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 27 Feb 2019 15:21:25 +0100 Subject: [PATCH] Changed drone build process to use gulp Signed-off-by: Jim Martens --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f20c0b3..67d050b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,10 +5,11 @@ pipeline: restore: true mount: - /drone/.bundle + - node_modules volumes: - jekyll-blog-cache:/cache build: - image: ruby + image: ruby-node environment: - BUNDLE_PATH=/drone/.bundle commands: @@ -16,13 +17,15 @@ pipeline: - export LC_ALL="C.UTF-8" - ruby -e 'puts STDIN.external_encoding' # figure out the encoding used - bundle install - - JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer _site/ --disable-external + - npm install + - gulp build rebuild-cache: privileged: true image: drillster/drone-volume-cache rebuild: true mount: - /drone/.bundle + - node_modules volumes: - jekyll-blog-cache:/cache deploy: