Try to start CI

This commit is contained in:
Luca Beltrame 2022-04-24 10:02:46 +02:00
parent f96d5f7de1
commit e894a1ac47
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

50
.woodpecker.yml Normal file
View file

@ -0,0 +1,50 @@
workspace:
base: /checkout
path: data
pipeline:
submodules:
image: alpine/git
commands:
- git submodule update --init --recursive --remote themes/ananke/
build:
image: plugins/hugo
settings:
hugo_version: 0.97.3
validate: false
extended: true
output: public/
cleanup:
image: alpine
environment:
- NGINX_UID=476
- NGINX_GID=476
commands:
- chown -R $NGINX_UID:$NGINX_ID /site/
- rm -f /site/.gitadd /site/.gitignore
volumes:
- /srv/www/htdocs/dennogumi.org:/site
deploy:
image: einar/drone-rsync
pull: never
settings:
source: public/
target: /site/
recursive: true
exclude: [".gitignore", ".gitadd"]
volumes:
- /srv/www/htdocs/dennogumi.org:/site
notify:
image: plugins/matrix
settings:
homeserver: https://conference.heavensinferno.net
roomid:
from_secret: roomid
accesstoken:
from_secret: access_token
userid:
from_secret: user_id
when:
status:
- failure
- success