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
- pip install -r requirements.txt
- python livres_fr.py
- python livres_en.py
- name: pdf
image: debian
- apt-get update
- apt-get install -y --no-install-recommends calibre curl
- bash -x convert.sh
- bash -x upload.sh
environment:
USERNAME:
from_secret: nextcloud_user
PASSWORD:
from_secret: nextcloud_password
---
name: dependabot
- name: dependabot-pip
image: xefir/docker-dependabot-gitea
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