Michel Roux
94d5c5b742
All checks were successful
continuous-integration/drone/push Build is passing
32 lines
633 B
YAML
32 lines
633 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: epub
|
|
image: node:lts
|
|
commands:
|
|
- npm i
|
|
- ./node_modules/.bin/eslint *.js
|
|
- node livres_fr
|
|
- node livres_en
|
|
- name: pdf
|
|
image: debian:stable-slim
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y --no-install-recommends calibre
|
|
- apt-get install -y curl
|
|
- 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
|