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 4a57f12921
All checks were successful
continuous-integration/drone/push Build is passing
Add env variable to fix chromium error on root
2021-08-18 12:25:10 +02:00

29 lines
544 B
YAML

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