-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91832c5
commit 9197e34
Showing
3 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,15 +41,24 @@ jobs: | |
mkdir -p build && cd build | ||
cmake .. | ||
make | ||
- name: Install pdftk | ||
run: apt-get update && apt-get install -y pdftk | ||
|
||
- name: Combine PDFs | ||
run: pdftk build/Computertechnik.pdf img/Formelsammlung.pdf cat output build/output.pdf | ||
|
||
- name: Rename output PDF | ||
run: rm build/Computertechnik.pdf && mv build/output.pdf build/Computertechnik.pdf | ||
|
||
- name: Prepare Deployment | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
run: | | ||
mkdir -p export | ||
echo "# This branch is for deployment only" >> export/README.md | ||
cp build/*.pdf export | ||
cp build/Computertechnik.pdf export | ||
cp build/git.id export | ||
- name: Deploy | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
|
||
|
||
%Packages | ||
\usepackage{pdfpages} | ||
%\usepackage{pdfpages} %Causing error on build | ||
\usepackage{xcolor} | ||
\usepackage{fancyhdr} | ||
\usepackage{lastpage} | ||
|
@@ -44,6 +44,11 @@ | |
|
||
\IfFileExists{git.id}{\input{git.id}}{} | ||
\ifdefined\GitRevision\mydate{\GitNiceDate\ (git \GitRevision)}\fi | ||
\ifdefined\GitIssuesURL | ||
\ifdefined\setissueslinkurl | ||
\setissueslinkurl{\GitIssuesURL} % Set the actual URL | ||
\fi | ||
\fi | ||
|
||
% Title | ||
% ---------------------------------------------------------------------- | ||
|
@@ -315,11 +320,11 @@ \subsubsection{Timer-Interrupts} | |
\end{minipage} | ||
|
||
%Formelsammlung | ||
\newpage | ||
\lfoot{Formelsammlung aus der Prüfung} | ||
\cfoot{Quelle: Michael Zwick (\href{mailto:[email protected]}{[email protected]})} % Setzt die rechte Fußzeile | ||
\rfoot{Stand: Wintersemester 23/24 \qquad \thepage/\pageref{LastPage}} % Setzt die rechte Fußzeile | ||
\includepdf[pages=-, pagecommand={\thispagestyle{fancy}}]{./img/Formelsammlung.pdf} | ||
%\newpage | ||
%\lfoot{Formelsammlung aus der Prüfung} | ||
%\cfoot{Quelle: Michael Zwick (\href{mailto:[email protected]}{[email protected]})} % Setzt die rechte Fußzeile | ||
%\rfoot{Stand: Wintersemester 23/24} % Setzt die rechte Fußzeile | ||
%\includepdf[pages=-, pagecommand={\thispagestyle{fancy}}]{./img/Formelsammlung.pdf} | ||
%\includepdf[pages=-]{./img/Formelsammlung.pdf} | ||
|
||
% ====================================================================== | ||
|
Binary file not shown.