You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
759 B
YAML
34 lines
759 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build-quartz
|
|
|
|
steps:
|
|
- name: clone_repos
|
|
image: alpine/git
|
|
environment:
|
|
DRONE_GIT_USERNAME:
|
|
from_secret: MACHINE_GIT_USERNAME
|
|
DRONE_GIT_PASSWORD:
|
|
from_secret: MACHINE_GIT_PASSWORD
|
|
commands:
|
|
- cd /tmp/
|
|
- git clone -b hugo https://code.ndumas.com/ndumas/quartz.git
|
|
- cd /tmp/quartz/content/
|
|
- git clone https://code.ndumas.com/ndumas/obsidian-vault.git
|
|
volumes:
|
|
- name: quartz
|
|
path: /tmp/quartz
|
|
- name: build_quartz
|
|
image: code.ndumas.com/ndumas/quartz:latest
|
|
commands:
|
|
- cd /tmp/quartz/
|
|
- hugo-obsidian -input=content -output=assets/indices -index -root=.
|
|
- hugo --enableGitInfo --minify
|
|
volumes:
|
|
- name: quartz
|
|
path: /tmp/quartz
|
|
|
|
volumes:
|
|
- name: quartz
|
|
temp: {}
|