2022-03-25 17:35:22 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2022-03-25 18:44:47 +02:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
2022-03-25 17:35:22 +02:00
|
|
|
- name: build
|
2022-03-25 18:26:37 +02:00
|
|
|
image: klakegg/hugo:ext-asciidoctor-ci
|
2022-03-25 17:35:22 +02:00
|
|
|
volumes:
|
|
|
|
- name: output
|
2022-03-25 18:17:58 +02:00
|
|
|
path: /korhonen.cc
|
2022-03-25 17:55:55 +02:00
|
|
|
commands:
|
2022-06-11 23:20:20 +03:00
|
|
|
- "rm -r /korhonen.cc/*"
|
2022-03-25 18:17:58 +02:00
|
|
|
- "hugo -d /korhonen.cc"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
host:
|
|
|
|
path: /var/www/korhonen.cc
|