Hopefully fixed volume caches
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
82838b417c
commit
0149cbce8a
14
.drone.yml
14
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue