Alles was sich nur selten ändert: Satzung, Vereinsordnungen, Protokolle der Mitgliederversammlungen, Kassenprüfberichte und ähnliches.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.6 KiB

pipeline:
prepare:
image: golang
commands:
- go run scripts/generate.go
# Build the pdf-Version of all Markdown documents with the softwerke template
build:
image: pandoc/latex
commands:
#- tlmgr update --all
- tlmgr install lato
- tlmgr install fontaxes
- tlmgr install inconsolata
- tlmgr install lastpage
- tlmgr install titlesec
- tlmgr install ulem
- sh compile.sh
when:
status: success
# Publish the pdf's in a new release
# ToDo: improve release create and add list of commits to release text
publish:
image: alpine
commands:
- apk update
- apk upgrade
- apk add wget
- wget -nv -O /usr/bin/tea-cli https://dl.gitea.io/tea/0.8.0/tea-0.8.0-linux-386
- chmod +x /usr/bin/tea-cli
- tea-cli login add --name Codeberg --url codeberg.org --token $GITEA_TOKEN
- tea-cli release create --tag "$(date +%d.%m.%Y)" --note "$(cat releaseMsg)" --target main --title "Stand $(date +%d.%m.%Y)" -a output/Beitragsordnung.pdf -a output/Datenschutz.pdf -a output/Geschäftsordnung.pdf -a output/Mission\ Statement.pdf -a output/Nutzungsbedingungen.pdf -a output/Vereinssatzung.pdf -a Mitgliedsantrag.pdf
secrets: [ gitea_token]
when:
status: success
# Notify via Matrix about the Changes
# matirx:
# Notify via Email about the Changes
# mail:
# Only run for commits on master-bracnch
branches: main