mirror of
https://salsa.debian.org/hertzog/debian-handbook.git
synced 2026-01-11 19:56:38 +00:00
31 lines
815 B
YAML
31 lines
815 B
YAML
image: 'debian:bookworm'
|
|
variables:
|
|
# Languages to build for the website (we're limited to 100Mb so we must
|
|
# build only a subset of the available languages).
|
|
LANGS: 'ar-MA ca-ES de-DE en-US es-ES fa-IR fr-FR id-ID it-IT ja-JP nb-NO pt-BR ru-RU sv-SE zh-CN'
|
|
# Not very active: cs-CZ nl-NL pl-PL vi-VN zh-TW
|
|
# Never really started: da-DK el-GR hr-HR ko-KR ro-RO
|
|
|
|
before_script:
|
|
- apt-get update
|
|
- apt-get -y install publican publican-debian jdupes
|
|
|
|
ensure_build:
|
|
stage: test
|
|
script:
|
|
- bin/gitlab-check
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- bin/gitlab-pages
|
|
artifacts:
|
|
expire_in: 4h
|
|
paths:
|
|
- public
|
|
only:
|
|
refs:
|
|
- bookworm/main
|
|
variables:
|
|
# Build space-consuming pages only in the official repository
|
|
- $CI_PROJECT_PATH == "hertzog/debian-handbook"
|