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.
Auberge_Vagabonde/.drone.yml
Michel Roux 6f2536a941
All checks were successful
continuous-integration/drone/push Build is passing
use classic node image
2021-07-28 17:25:00 +02:00

29 lines
538 B
YAML

kind: pipeline
name: default
type: docker
steps:
- name: epub
image: node:14.17.3
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