kind: pipeline name: default steps: - name: build image: aergus/latex commands: - apt update - apt -y install texlive texlive-luatex texlive-lang-german # - apt -y install latexmk # - apt -y install texlive-lang-french texlive-lang-portuguese texlive-lang-spanish texlive-lang-italian - apt -y install lilypond - apt -y install python3-pip - pip3 install patacrep - songbook books/songbook-hendrik.yaml # - latexmk -pdf - mkdir dist - mv *.pdf dist/ - name: notify image: drillster/drone-email settings: host: mail.xd0.de from: drone@xd0.de recipients: - hendrik+dev@xd0.de attachment: dist/songbook-hendrik.pdf when: status: [ success, changed, failure ] - name: gitea_release image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://dev.xd0.de files: dist/*.pdf when: event: tag