|
|
@ -10,11 +10,11 @@ steps:
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: go_module_cache
|
|
|
|
- name: go_module_cache
|
|
|
|
path: /var/cache/go/mod/
|
|
|
|
path: /drone/src/hugo_cache/
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
restore: true
|
|
|
|
restore: true
|
|
|
|
mount:
|
|
|
|
mount:
|
|
|
|
- /tmp/hugo_cache/
|
|
|
|
- /drone/src/hugo_cache/
|
|
|
|
- name: hugo_prod
|
|
|
|
- name: hugo_prod
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- restore_cache
|
|
|
|
- restore_cache
|
|
|
@ -107,12 +107,12 @@ steps:
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: go_module_cache
|
|
|
|
- name: go_module_cache
|
|
|
|
path: /var/cache/go/mod/
|
|
|
|
path: /drone/src/hugo_cache/
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
rebuild: true
|
|
|
|
rebuild: true
|
|
|
|
mount:
|
|
|
|
mount:
|
|
|
|
- /tmp/hugo_cache/
|
|
|
|
- /drone/src/hugo_cache/
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- name: go_module_cache
|
|
|
|
- name: go_module_cache
|
|
|
|
host:
|
|
|
|
host:
|
|
|
|
path: /var/cache/go/mod/
|
|
|
|
path: /var/cache/go/hugo_cache/
|
|
|
|