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.

25 lines
390 B
YAML

kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: alpine:3
commands:
- apk add hugo
- hugo
- name: publish
image: alpine:3
volumes:
- name: blog
path: /mnt/blog/
commands:
- cp -r public/* /mnt/blog/
volumes:
- name: blog
host:
path: /var/www/blog.ndumas.com