korhonen.cc/.drone.yml
Marko Korhonen 833b9be5c0
All checks were successful
continuous-integration/drone/push Build is passing
Remove old files before build
2022-06-11 23:20:20 +03:00

23 lines
373 B
YAML

kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: klakegg/hugo:ext-asciidoctor-ci
volumes:
- name: output
path: /korhonen.cc
commands:
- "rm -r /korhonen.cc/*"
- "hugo -d /korhonen.cc"
volumes:
- name: output
host:
path: /var/www/korhonen.cc