Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusptrs committed Jul 12, 2024
1 parent 1cc3ebf commit cfe5c82
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,21 @@ 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/Physik.pdf img/Formelsammlung.pdf cat output build/combined.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/combined.pdf export
cp build/git.id export
- name: Deploy
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
Expand Down
17 changes: 11 additions & 6 deletions Computertechnik.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


%Packages
\usepackage{pdfpages}
%\usepackage{pdfpages} Causing error on build
\usepackage{xcolor}
\usepackage{fancyhdr}
\usepackage{lastpage}
Expand All @@ -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
% ----------------------------------------------------------------------
Expand Down Expand Up @@ -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 \qquad \thepage/\pageref{LastPage}} % Setzt die rechte Fußzeile
%\includepdf[pages=-, pagecommand={\thispagestyle{fancy}}]{./img/Formelsammlung.pdf}
%\includepdf[pages=-]{./img/Formelsammlung.pdf}

% ======================================================================
Expand Down
Binary file modified img/Formelsammlung.pdf
Binary file not shown.

0 comments on commit cfe5c82

Please sign in to comment.