Files
pm/.gitea/workflows/create-presentation.yml

31 lines
887 B
YAML

name: build-debian-package
on:
push:
tags:
- "doc-*"
jobs:
build:
name: Build the debian package
runs-on: ubuntu-latest
steps:
- name: "Git clone"
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git .
- name: "Git checkout"
run: git checkout "${{ gitea.sha }}"
- name: "Submodules auschecken"
run: git submodule update --init
- uses: docker://git.kocoder.xyz/docker/ga-pandoc:c6eaa45b623c284e80f37434872621defc00f864
with:
env: TEXINPUTS=.:./libs/awesome-beamer/:./libs/smile/
command: pandoc
args: "--help" # gets appended to pandoc command
- name: "Build .deb"
run: cd ./Defensio && ./pandoc.sh
- name: "Create release"
uses: akkuman/gitea-release-action@v1
with:
files: |-
./Defensio/defensio.pdf