48 lines
981 B
YAML
48 lines
981 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: epub
|
|
image: node:lts
|
|
commands:
|
|
- npm i
|
|
- 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
|
|
|
|
---
|
|
kind: pipeline
|
|
name: dependabot
|
|
type: docker
|
|
|
|
steps:
|
|
- name: dependabot-node
|
|
image: xefir/docker-dependabot-gitea
|
|
environment:
|
|
GITHUB_ACCESS_TOKEN:
|
|
from_secret: github_access_token
|
|
GITEA_ACCESS_TOKEN:
|
|
from_secret: gitea_access_token
|
|
PROJECT_PATH: Xefir/Auberge_Vagabonde
|
|
GITEA_HOSTNAME: git.crystalyx.net
|
|
GITEA_SCHEME: https
|
|
PACKAGE_MANAGER: npm_and_yarn
|
|
|
|
trigger:
|
|
event:
|
|
- cron
|