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

54 lines
1.1 KiB
YAML
Raw Normal View History

2021-04-10 21:53:47 +00:00
kind: pipeline
name: default
type: docker
steps:
- name: flake8
image: python:slim
commands:
- pip install flake8
2021-04-10 21:59:50 +00:00
- flake8 --max-line-length 111
2021-04-10 21:53:47 +00:00
- name: epub
2021-04-10 21:59:50 +00:00
image: python
2021-04-10 21:53:47 +00:00
commands:
- pip install -r requirements.txt
- python livres_fr.py
- python livres_en.py
- name: pdf
image: debian
2021-04-10 21:53:47 +00:00
commands:
- apt-get update
2021-04-11 10:18:07 +00:00
- apt-get install -y --no-install-recommends calibre
2021-05-18 13:21:20 +00:00
- bash -x convert.sh
2021-04-10 21:53:47 +00:00
- name: upload
image: curlimages/curl
commands:
2021-05-18 13:21:20 +00:00
- bash -x upload.sh
2021-04-10 21:59:50 +00:00
environment:
USER:
from_secret: nextcloud_user
PASS:
from_secret: nextcloud_password
2021-04-22 09:36:33 +00:00
---
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
2021-04-26 17:18:47 +00:00
PROJECT_PATH: Xefir/Auberge_Vagabonde
2021-04-22 09:36:33 +00:00
GITEA_HOSTNAME: git.crystalyx.net
GITEA_SCHEME: https
PACKAGE_MANAGER: pip
trigger:
event:
- cron