29 lines
521 B
YAML
29 lines
521 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: epub
|
|
image: node
|
|
commands:
|
|
- yarn install
|
|
- yarn lint
|
|
- yarn start
|
|
- name: pdf
|
|
image: linuxserver/calibre
|
|
commands:
|
|
- bash -x convert.sh
|
|
- bash -x upload.sh
|
|
environment:
|
|
USERNAME:
|
|
from_secret: nextcloud_user
|
|
PASSWORD:
|
|
from_secret: nextcloud_password
|
|
QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
- cron
|