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.

38 lines
835 B
YAML

kind: pipeline
2 years ago
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
- 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
- name: build_quartz
image: code.ndumas.com/ndumas/quartz:latest
commands:
2 years ago
- ls -R /tmp/quartz/
2 years ago
- 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: {}