2021-07-04 06:22:25 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-07-04 06:35:32 +00:00
|
|
|
- name: clone
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
volumes:
|
|
|
|
- name: hugo-cache
|
|
|
|
path: /drone/src
|
|
|
|
|
2021-07-04 06:22:25 +00:00
|
|
|
- name: build
|
|
|
|
image: plugins/hugo
|
2021-07-04 06:35:32 +00:00
|
|
|
volumes:
|
|
|
|
- name: hugo-cache
|
|
|
|
path: /drone/src
|
2021-07-04 06:22:25 +00:00
|
|
|
settings:
|
|
|
|
hugo_version: 0.84.4
|
|
|
|
validate: true
|
2021-07-04 06:24:48 +00:00
|
|
|
pull: always
|
2021-07-04 06:35:32 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: hugo-cache
|
|
|
|
temp: {}
|