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 7bdf52f83f
Some checks reported errors
continuous-integration/drone/push Build was killed
Make drone more readable
2021-05-18 15:21:20 +02:00

54 lines
1.1 KiB
YAML

kind: pipeline
name: default
type: docker
steps:
- name: flake8
image: python:slim
commands:
- pip install flake8
- flake8 --max-line-length 111
- name: epub
image: python
commands:
- pip install -r requirements.txt
- python livres_fr.py
- python livres_en.py
- name: pdf
image: debian
commands:
- apt-get update
- apt-get install -y --no-install-recommends calibre
- bash -x convert.sh
- name: upload
image: curlimages/curl
commands:
- bash -x upload.sh
environment:
USER:
from_secret: nextcloud_user
PASS:
from_secret: nextcloud_password
---
kind: pipeline
name: dependabot
type: docker
steps:
- name: dependabot-pip
image: xefir/docker-dependabot-gitea
environment:
GITHUB_ACCESS_TOKEN:
from_secret: github_access_token
GITEA_ACCESS_TOKEN:
from_secret: gitea_access_token
PROJECT_PATH: Xefir/Auberge_Vagabonde
GITEA_HOSTNAME: git.crystalyx.net
GITEA_SCHEME: https
PACKAGE_MANAGER: pip
trigger:
event:
- cron