ci: add ci

This commit is contained in:
0xMRTT 2023-05-12 17:45:49 +02:00
parent c48c22058a
commit 682dff5ee2
Signed by: 0xmrtt
GPG key ID: 19C1449A774028BD

19
.woodpecker.yml Normal file
View file

@ -0,0 +1,19 @@
clone:
git:
image: bash
commands:
- cd /home/0xmrtt
- if [ -d gadolinium ]; then
- cd gadolinium
- git pull
- git submodule update
- else
- git clone --recursive https://git.exozy.me/0xMRTT/gadolinium.git
- fi
pipeline:
build:
image: bash
commands:
- cd /home/0xmrtt/gadolinium/doc
- hugo --minify --cleanDestinationDir --destination /srv/http/pages/gadolinium