2022-08-29 17:30:41 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
steps:
|
2022-08-29 18:19:15 +00:00
|
|
|
- name: generate PDF files from tex
|
|
|
|
image: registry.gitlab.com/islandoftex/images/texlive:latest
|
|
|
|
commands:
|
|
|
|
- pdflatex satzung.tex
|
|
|
|
- pdflatex beitragsordnung.tex
|
|
|
|
- pdflatex schluesselordnung.tex
|
2022-08-29 19:56:21 +00:00
|
|
|
- name: show directory contents
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- ls
|
2022-08-29 19:50:42 +00:00
|
|
|
- name: merge PDF files into single file
|
2022-08-29 20:01:59 +00:00
|
|
|
image: pdftk/pdftk
|
2022-08-29 17:58:30 +00:00
|
|
|
commands:
|
2022-08-29 19:56:21 +00:00
|
|
|
- satzung.pdf beitragsordnung.pdf schluesselordnung.pdf cat output satzung_mit_beitrags-_und_schluesselordnung.pdf
|
2022-08-29 19:50:42 +00:00
|
|
|
# - name: upload files to nextcloud
|
|
|
|
# image: curlimages/curl
|
|
|
|
# environment:
|
|
|
|
# username:
|
|
|
|
# from_secret: nextcloud_secret
|
|
|
|
# commands:
|
|
|
|
# - |
|
|
|
|
# curl -k -T satzung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_satzung.pdf
|
|
|
|
# - |
|
|
|
|
# curl -k -T beitragsordnung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_beitragsordnung.pdf
|
|
|
|
# - |
|
|
|
|
# curl -k -T schluesselordnung.pdf -u "$username" -H "X-Requested-With: XMLHttpRequest" https://cloud.ctdo.de/public.php/webdav/$(date +"%Y-%m-%d")_schluesselordnung.pdf
|
|
|
|
# when:
|
|
|
|
# ref:
|
|
|
|
# - refs/heads/citest_publish
|
2022-08-29 18:19:15 +00:00
|
|
|
|