First draft
continuous-integration/drone Build encountered an error
Details
continuous-integration/drone Build encountered an error
Details
parent
e482fa1097
commit
a9df486b92
@ -0,0 +1,40 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: clone_quartz
|
||||
image: alpine/git
|
||||
commands:
|
||||
- cd /tmp/
|
||||
- git clone -b hugo https://code.ndumas.com/ndumas/quartz.git
|
||||
volumes:
|
||||
- name: quartz
|
||||
path: /tmp/quartz
|
||||
steps:
|
||||
- name: clone_vault
|
||||
image: alpine/git
|
||||
commands:
|
||||
- cd /tmp/quartz/content/
|
||||
- git clone -b hugo https://code.ndumas.com/ndumas/obsidian-vault.git
|
||||
volumes:
|
||||
- name: quartz
|
||||
path: /tmp/quartz
|
||||
steps:
|
||||
- name: build_quartz
|
||||
image: code.ndumas.com/ndumas/quartz:latest
|
||||
commands:
|
||||
- cd /tmp/quartz/content/
|
||||
- git clone -b hugo https://code.ndumas.com/ndumas/obsidian-vault.git
|
||||
- cd ..
|
||||
- hugo-obsidian -input=content -output=assets/indices -index -root=.
|
||||
- hugo --enableGitInfo --minify
|
||||
volumes:
|
||||
- name: quartz
|
||||
path: /tmp/quartz
|
||||
|
||||
volumes:
|
||||
- name: quartz
|
||||
temp: {}
|
||||
---
|
Loading…
Reference in New Issue