mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-25 00:52:05 +01:00
25 lines
722 B
YAML
25 lines
722 B
YAML
|
# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
|
||
|
# SPDX-License-Identifier: CC0-1.0
|
||
|
|
||
|
clone:
|
||
|
git:
|
||
|
image: woodpeckerci/plugin-git
|
||
|
settings:
|
||
|
lfs: false
|
||
|
|
||
|
when:
|
||
|
# branch: main
|
||
|
event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
steps:
|
||
|
epub-check:
|
||
|
image: archlinux:latest
|
||
|
commands:
|
||
|
- pacman -Sy --needed --noconfirm archlinux-keyring
|
||
|
- pacman -Syu --needed --noconfirm epubcheck inkscape noto-fonts make patch python-myst-parser python-sphinx python-sphinxext-opengraph ttf-montserrat
|
||
|
# fix sphinx: https://github.com/sphinx-doc/sphinx/issues/11598
|
||
|
- patch -Np1 -d /usr/lib/python3.11/site-packages/ -i "$(pwd)/book/patches/sphinx-11766.patch"
|
||
|
- make -C book epub-check
|