Switch from Drone CI to Woodpecker CI

This commit is contained in:
Marko Korhonen 2022-12-17 13:19:04 +02:00
parent fa8c253c76
commit d652818966
Signed by: FunctionalHacker
GPG Key ID: A7F78BCB859CD890
2 changed files with 13 additions and 22 deletions

View File

@ -1,22 +0,0 @@
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

13
.woodpecker.yml Normal file
View File

@ -0,0 +1,13 @@
pipeline:
submodules:
image: alpine/git
commands:
- git submodule update --init --recursive
build:
image: klakegg/hugo:ext-asciidoctor-ci
commands:
- rm -r /korhonen.cc/*
- hugo -d /korhonen.cc
volumes:
- /var/www/korhonen.cc:/korhonen.cc