More and more tests

This commit is contained in:
Luca Beltrame 2022-04-24 11:07:22 +02:00
parent b4ba9e67fd
commit 76d1025499
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

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