fdroid-artwork/.gitlab-ci.yml

31 lines
693 B
YAML

# 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
reuse:
image:
name: fsfe/reuse:latest
entrypoint: [""]
script:
- reuse lint
pages:
stage: deploy
script:
- 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
- ./4-copy.sh
- ./5-check.py
- popd
- mkdir public
- cp -r badge public/
artifacts:
paths:
- public