mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) fixed cache path: added restore step
This commit is contained in:
parent
535aac9b09
commit
958e0815ab
1 changed files with 12 additions and 12 deletions
24
.drone.yml
24
.drone.yml
|
@ -74,18 +74,18 @@ steps:
|
||||||
repo:
|
repo:
|
||||||
from_secret: docker_repo
|
from_secret: docker_repo
|
||||||
- name: rebuild-cache-with-filesystem
|
- name: rebuild-cache-with-filesystem
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
rebuild: true
|
rebuild: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- '/app/node_modules'
|
- '/app/node_modules'
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue