From d652818966d6b32fcc1797b727551ad198b48d03 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 17 Dec 2022 13:19:04 +0200 Subject: [PATCH] Switch from Drone CI to Woodpecker CI --- .drone.yml | 22 ---------------------- .woodpecker.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 22 deletions(-) delete mode 100644 .drone.yml create mode 100644 .woodpecker.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index ffe64f1..0000000 --- a/.drone.yml +++ /dev/null @@ -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 diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..64e68e9 --- /dev/null +++ b/.woodpecker.yml @@ -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