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
|
name: prod
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 1
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone --recursive $DRONE_REPO_LINK .
|
||||||
|
volumes:
|
||||||
|
- name: source
|
||||||
|
path: /drone/src/
|
||||||
|
|
||||||
- name: install submodule
|
- name: install submodule
|
||||||
image: drone/git
|
image: drone/git
|
||||||
commands:
|
commands:
|
||||||
|
@ -106,13 +114,27 @@ volumes:
|
||||||
- name: hugo-resources
|
- name: hugo-resources
|
||||||
host:
|
host:
|
||||||
path: /tmp/drone/cache/weko/cremeaux/resources
|
path: /tmp/drone/cache/weko/cremeaux/resources
|
||||||
|
- name: source
|
||||||
|
host:
|
||||||
|
path: /tmp/drone/cache/weko/cremeaux/source
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: staging
|
name: staging
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone --recursive $DRONE_REPO_LINK .
|
||||||
|
volumes:
|
||||||
|
- name: source
|
||||||
|
path: /drone/src/
|
||||||
|
|
||||||
- name: install submodule
|
- name: install submodule
|
||||||
image: drone/git
|
image: drone/git
|
||||||
commands:
|
commands:
|
||||||
|
@ -165,3 +187,6 @@ volumes:
|
||||||
- name: hugo-resources
|
- name: hugo-resources
|
||||||
host:
|
host:
|
||||||
path: /tmp/drone/cache/weko/staging.cremeaux/resources
|
path: /tmp/drone/cache/weko/staging.cremeaux/resources
|
||||||
|
- name: source
|
||||||
|
host:
|
||||||
|
path: /tmp/drone/cache/weko/staging.cremeaux/source
|
||||||
|
|
Loading…
Reference in New Issue