2021-04-10 21:53:47 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: epub
|
2021-06-11 20:08:53 +00:00
|
|
|
image: node:lts
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2021-06-11 20:08:53 +00:00
|
|
|
- npm i
|
2021-06-11 21:04:29 +00:00
|
|
|
- ./node_modules/.bin/eslint *.js
|
2021-06-11 20:08:53 +00:00
|
|
|
- node livres_fr
|
|
|
|
- node livres_en
|
2021-04-10 21:53:47 +00:00
|
|
|
- name: pdf
|
2021-06-11 20:08:53 +00:00
|
|
|
image: debian:stable-slim
|
2021-04-10 21:53:47 +00:00
|
|
|
commands:
|
2021-04-11 10:05:30 +00:00
|
|
|
- apt-get update
|
2021-05-18 15:08:23 +00:00
|
|
|
- apt-get install -y --no-install-recommends calibre
|
|
|
|
- apt-get install -y curl
|
2021-05-18 13:21:20 +00:00
|
|
|
- bash -x convert.sh
|
|
|
|
- bash -x upload.sh
|
2021-04-10 21:59:50 +00:00
|
|
|
environment:
|
2021-05-18 13:27:19 +00:00
|
|
|
USERNAME:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_user
|
2021-05-18 13:27:19 +00:00
|
|
|
PASSWORD:
|
2021-04-10 21:59:50 +00:00
|
|
|
from_secret: nextcloud_password
|
2021-04-22 09:36:33 +00:00
|
|
|
|
2021-06-20 08:13:02 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- cron
|
|
|
|
|
2021-04-22 09:36:33 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: dependabot
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
2021-06-11 20:08:53 +00:00
|
|
|
- name: dependabot-node
|
2021-04-22 09:36:33 +00:00
|
|
|
image: xefir/docker-dependabot-gitea
|
|
|
|
environment:
|
|
|
|
GITHUB_ACCESS_TOKEN:
|
|
|
|
from_secret: github_access_token
|
|
|
|
GITEA_ACCESS_TOKEN:
|
|
|
|
from_secret: gitea_access_token
|
2021-04-26 17:18:47 +00:00
|
|
|
PROJECT_PATH: Xefir/Auberge_Vagabonde
|
2021-04-22 09:36:33 +00:00
|
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
|
|
|
GITEA_SCHEME: https
|
2021-06-11 20:08:53 +00:00
|
|
|
PACKAGE_MANAGER: npm_and_yarn
|
2021-04-22 09:36:33 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- cron
|