fdroid-artwork/.gitlab-ci.yml

31 lines
693 B
YAML
Raw Normal View History

2021-11-26 02:22:24 +01:00
# SPDX-FileCopyrightText: 2017 Peter Serwylo <peter@serwylo.com>
# SPDX-FileCopyrightText: 2019 Michael Pöhn <michael@poehn.at>
#
# SPDX-License-Identifier: GPL-3.0-or-later
2023-06-13 14:48:35 +02:00
reuse:
image:
name: fsfe/reuse:latest
entrypoint: [""]
script:
- reuse lint
pages:
stage: deploy
script:
2024-02-16 16:32:23 +01:00
- apt-get update
- apt-get install -y npm python3-yaml inkscape fonts-roboto-slab fonts-noto-core fonts-noto-cjk zopfli iso-codes
- npm install -g svgo
- pushd badge
- ./1-translate-svg.py
- ./2-optimize-svg.sh
- ./3-export-png.sh
2024-02-16 18:19:41 +01:00
- ./4-copy.sh
- ./5-check.py
2024-02-16 16:32:23 +01:00
- popd
- mkdir public
- cp -r badge public/
artifacts:
paths:
2024-02-16 16:32:23 +01:00
- public