feat: Ajout des sources dans le cache
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
ae17bfc36a
commit
870fada7fc
27
.drone.yml
27
.drone.yml
|
@ -40,9 +40,17 @@ type: docker
|
|||
name: prod
|
||||
|
||||
clone:
|
||||
depth: 1
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone --recursive $DRONE_REPO_LINK .
|
||||
volumes:
|
||||
- name: source
|
||||
path: /drone/src/
|
||||
|
||||
- name: install submodule
|
||||
image: drone/git
|
||||
commands:
|
||||
|
@ -106,13 +114,27 @@ volumes:
|
|||
- name: hugo-resources
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/cremeaux/resources
|
||||
- name: source
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/cremeaux/source
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: staging
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git clone --recursive $DRONE_REPO_LINK .
|
||||
volumes:
|
||||
- name: source
|
||||
path: /drone/src/
|
||||
|
||||
- name: install submodule
|
||||
image: drone/git
|
||||
commands:
|
||||
|
@ -165,3 +187,6 @@ volumes:
|
|||
- name: hugo-resources
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/staging.cremeaux/resources
|
||||
- name: source
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/staging.cremeaux/source
|
||||
|
|
Loading…
Reference in New Issue