kind: pipeline
name: default
type: docker
steps:
- name: epub
image: node
commands:
- npm i
- ./node_modules/.bin/eslint *.js
- node livres
- name: pdf
image: linuxserver/calibre
- 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