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 369aacd6e7
All checks were successful
continuous-integration/drone/push Build is passing
Update python Docker tag to v3.11.4
2023-06-08 00:26:51 +00:00

31 lines
594 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: lint
image: python:3.11.4
commands:
- pip install poetry
- poetry install
- poetry run flake8
- poetry run mypy .
- name: epub
image: python:3.11.4
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