Switch from Drone CI to Woodpecker CI
This commit is contained in:
parent
fa8c253c76
commit
d652818966
2 changed files with 13 additions and 22 deletions
22
.drone.yml
22
.drone.yml
|
@ -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
13
.woodpecker.yml
Normal 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
|
Loading…
Reference in a new issue