htlle-da-vorlage/tools/github/diploma-thesis-manual.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2025-01-08 23:35:09 +01:00
name: Build and send diploma thesis
on:
push:
branches:
- main
paths:
- Diplomarbeit/**
workflow_dispatch:
jobs:
build-send::
2025-01-08 23:35:09 +01:00
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
2025-01-09 13:19:41 +01:00
sudo apt-get install -y --no-install-recommends git build-essential make-guile texlive-full pandoc pandoc-citeproc tree rsync hunspell hunspell-de-at hunspell-en-us
2025-01-08 23:35:09 +01:00
- name: Build diploma thesis
run: |
make pdf -C HTLLE-DA-Vorlage SOURCEDIR=../Diplomarbeit/
- name: Send diploma thesis
uses: dawidd6/action-send-mail@v4
with:
server_address: ${{ secrets.SMTP_SERVER }}
server_port: ${{ secrets.SMTP_PORT }}
username: ${{ secrets.MAIL }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: "Diploma thesis"
body: " "
to: ${{ secrets.TEAMS_MAIL }}
from: ${{ secrets.MAIL }}
2025-01-09 09:22:28 +01:00
attachments: Diplomarbeit/diplomarbeit.pdf