mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed volumes config
This commit is contained in:
parent
ea16183117
commit
bb0dc2d26a
1 changed files with 17 additions and 8 deletions
15
.drone.yml
15
.drone.yml
|
@ -9,15 +9,17 @@ platform:
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
- name: restore-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
restore: true
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
settings:
|
||||||
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/cache:/cache
|
- name: cache
|
||||||
|
path: /cache
|
||||||
- name: build-master
|
- name: build-master
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
when:
|
when:
|
||||||
|
@ -78,8 +80,15 @@ steps:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
settings:
|
||||||
rebuild: true
|
rebuild: true
|
||||||
mount:
|
mount:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/cache:/cache
|
- name: cache
|
||||||
|
path: /cache
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue