feat: Ajout des sources dans le cache
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user