Updated Logo and added a ithub workflow to build the image as workflow

This commit is contained in:
Günther Hutter 2024-12-21 14:19:42 +01:00
parent 51251c0bae
commit b2ae73e538
3 changed files with 45 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

4
tools/github/README.md Normal file
View File

@ -0,0 +1,4 @@
# Github tools
The workflow `build-and-send.yaml` allows the user to build the diploma thesis via a github workflow.
Adapt it to meet your needs.

View File

@ -0,0 +1,41 @@
name: Build and Send Diplomathesis
on:
push:
branches:
- main
paths:
- Diplomarbeit/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install git build-essential make-guile texlive-full pandoc pandoc-citeproc tree rsync hunspell hunspell-de-at
- name: Build DA-Thesis
run: |
make pdf -C HTLLE-DA-Vorlage SOURCEDIR=../Diplomarbeit/
- name: Send File via Email
uses: dawidd6/action-send-mail@v2
with:
server_address: smtp.gmail.com
server_port: 587
username: ${{ secrets.GMAIL_MAIL }}
password: ${{ secrets.GMAIL_APP_PASSWORD }}
subject: "Diploma thesis"
body: " "
to: ${{ secrets.TEAMS_MAIL }}
from: ${{ secrets.GMAIL_MAIL }}
attachments: Diplomarbeit/diplomarbeit.pdf