cache gatsby files
This commit is contained in:
parent
e0a3b2aed9
commit
efbfabb8ab
@ -14,6 +14,8 @@ steps:
|
|||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
|
- ./.cache
|
||||||
|
- ./public
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /cache
|
path: /cache
|
||||||
@ -22,7 +24,7 @@ steps:
|
|||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
# - yarn build
|
- yarn build
|
||||||
|
|
||||||
- name: rebuild-cache
|
- name: rebuild-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
@ -30,6 +32,8 @@ steps:
|
|||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
|
- ./.cache
|
||||||
|
- ./public
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /cache
|
path: /cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user