From da5f9ee15b6aa4d363b6066977f9bbbcb8bf97f2 Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Tue, 31 Jul 2018 05:02:40 -0700 Subject: [PATCH] Change to plane Ruby image --- .drone.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5b062b0..7225804 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,22 @@ -workspace: - base: /srv/jekyll - path: / - pipeline: + restore-cache: + image: drillster/drone-volume-cache + restore: true + mount: + - /drone/.bundle + volumes: + - /tmp/bundle-cache:/cache build: - image: jekyll/minimal:3.8.3 + image: ruby:2.5.1-alpine3.7 + environment: + - BUNDLE_PATH=/drone/.bundle commands: - - whoami - - cd ianonavy - - jekyll build - + - bundle install + - bundle exec jekyll build + rebuild-cache: + image: drillster/drone-volume-cache + rebuild: true + mount: + - /drone/.bundle + volumes: + - /tmp/bundle-cache:/cache