Hopefully fixed volume caches
continuous-integration/drone/push Build encountered an error

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-04-28 15:28:59 +02:00
parent 82838b417c
commit 0149cbce8a
+12 -2
View File
@@ -13,9 +13,10 @@ steps:
- ./node_modules
volumes:
- name: jekyll-blog-cache
path: /cache
path: /tmp/cache
- name: build
image: starefossen/ruby-node
privileged: true
environment:
BUNDLE_PATH: /drone/.bundle
commands:
@@ -27,6 +28,9 @@ steps:
- yarn global add gulp-cli
- yarn install --pure-lockfile
- gulp build
volumes:
- name: jekyll-blog-cache
path: /tmp/cache
- name: rebuild-cache
privileged: true
image: drillster/drone-volume-cache
@@ -38,7 +42,7 @@ steps:
- ./node_modules
volumes:
- name: jekyll-blog-cache
path: /cache
path: /tmp/cache
- name: deploy
image: drillster/drone-rsync
environment:
@@ -75,6 +79,12 @@ steps:
when:
status: [ failure ]
volumes:
- name: jekyll-blog-cache
host:
path: /var/lib/cache
trigger:
branch:
- master