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.
2021-04-10 21:53:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: epub
|
2022-01-18 20:43:45 +00:00
|
|
|
image: python-slim
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2022-01-18 20:43:45 +00:00
|
|
|
- pip install flake8 black
|
|
|
|
- flake8 --ignore=501
|
|
|
|
- black --check
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- python run.py
|
2021-04-10 21:53:47 +00:00
|
|
|
- name: pdf
|
2021-08-18 09:52:29 +00:00
|
|
|
image: linuxserver/calibre
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2021-05-18 13:21:20 +00:00
|
|
|
- bash -x convert.sh
|
|
|
|
- bash -x upload.sh
|
2021-04-10 21:59:50 +00:00
|
|
|
environment:
|
2021-05-18 13:27:19 +00:00
|
|
|
USERNAME:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_user
|
2021-05-18 13:27:19 +00:00
|
|
|
PASSWORD:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_password
|
2021-08-18 10:25:10 +00:00
|
|
|
QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox
|
2021-06-24 13:37:26 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- cron
|