Michel Roux
1f0112a9a1
All checks were successful
continuous-integration/drone/push Build is passing
31 lines
594 B
YAML
31 lines
594 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: lint
|
|
image: python:3.11.3
|
|
commands:
|
|
- pip install poetry
|
|
- poetry install
|
|
- poetry run flake8
|
|
- poetry run mypy .
|
|
- name: epub
|
|
image: python:3.11.3
|
|
commands:
|
|
- pip install poetry
|
|
- poetry install --without dev
|
|
- poetry run python books.py
|
|
- bash -x upload.sh
|
|
environment:
|
|
USERNAME:
|
|
from_secret: nextcloud_user
|
|
PASSWORD:
|
|
from_secret: nextcloud_password
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
- cron
|