Updated Logo and added a ithub workflow to build the image as workflow
This commit is contained in:
parent
51251c0bae
commit
b2ae73e538
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
4
tools/github/README.md
Normal 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.
|
41
tools/github/build-and-send.yaml
Normal file
41
tools/github/build-and-send.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user