diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 192cfd6..927d19a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: jobs: generate_pdf: runs-on: ubuntu-latest - name: gen-pdf + name: generate-pdf steps: - name: Checkout uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index cc016e2..5d56430 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM ubuntu:latest RUN ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime \ && echo "Etc/UTC" > /etc/timezone \ && apt-get update && apt-get upgrade -y \ - && apt-get install texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \ + && apt-get install python3-pip texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \ && rm -rf /var/lib/apt/lists/* # Copy the application in folder found in $PATH diff --git a/script.sh b/script.sh index b32a03f..9857c85 100644 --- a/script.sh +++ b/script.sh @@ -8,4 +8,8 @@ pandoc -o output/out.pdf --pdf-engine=xelatex --template=input/main.tex input/ma sleep 10 echo $(python3 -V) >> output/python-version -echo $(pip3 -V) >> output/python-version \ No newline at end of file +echo $(pip3 -V) >> output/python-version + +pip3 install --no-input pdfnup==0.4.1 + +echo $(pdfnup -h) >> output/pdfnup \ No newline at end of file