This repository has been archived on 2024-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
Auberge_Vagabonde/.drone.yml
Michel Roux d20fff0807
Some checks reported errors
continuous-integration/drone/push Build was killed
Mypy fix
2023-01-11 13:40:03 +01:00

36 lines
727 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: lint
image: python:3.11.1
commands:
- pip install poetry
- poetry install
- poetry run flake8
- poetry run mypy .
- name: epub
image: python:3.11.1
commands:
- pip install poetry
- poetry install --without dev
- poetry run python books.py
- name: pdf
image: linuxserver/calibre
commands:
- bash -x convert.sh
- bash -x upload.sh
environment:
USERNAME:
from_secret: nextcloud_user
PASSWORD:
from_secret: nextcloud_password
QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox
when:
branch:
- master
event:
- push
- cron