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 d637c74628
Some checks reported errors
continuous-integration/drone/push Build was killed
Fix drone
2022-01-18 20:54:08 +00:00

33 lines
672 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: epub
image: python:slim
commands:
- apt-get update
- apt-get install -y git
- pip install flake8 black
- flake8 --ignore=E501
- black --check .
- pip install -r requirements.txt
- python run.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