29 lines
538 B
YAML
29 lines
538 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: epub
|
|
image: node:14.17.4
|
|
commands:
|
|
- npm i
|
|
- ./node_modules/.bin/eslint *.js
|
|
- node livres_fr
|
|
- node livres_en
|
|
- name: pdf
|
|
image: linuxserver/calibre:v5.23.0-ls121
|
|
commands:
|
|
- bash -x convert.sh
|
|
- bash -x upload.sh
|
|
environment:
|
|
USERNAME:
|
|
from_secret: nextcloud_user
|
|
PASSWORD:
|
|
from_secret: nextcloud_password
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
- cron
|