diff --git a/.gitea/workflows/docs.yml b/.gitea/workflows/docs.yml index 756953c..eb78b75 100644 --- a/.gitea/workflows/docs.yml +++ b/.gitea/workflows/docs.yml @@ -6,6 +6,8 @@ on: jobs: build-docs: runs-on: ubuntu-latest + container: + image: git.kjan.de/actions/runner-latex:latest env: # Edit here with the names of your latex file and directory (can use ".") DIR: docs @@ -14,15 +16,6 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Install TeXlive - env: - ACCEPT_EULA: y - DEBIAN_FRONTEND: noninteractive - run: | - echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections - sudo apt-get update && sudo apt-get install texlive-lang-german texlive-xetex texlive texlive-publishers texlive-science latexmk cm-super ttf-mscorefonts-installer -y - sudo fc-cache -f -v - - name: LaTeX compile working-directory: ${{ env.DIR }} run: latexmk -pdf -xelatex ${{ env.FILE }}