Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
file-text

GitHub Action

Uberblatt

v4

Uberblatt

file-text

Uberblatt

Build LaTeX in each directory and deploy PDFs to GitHub Pages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Uberblatt

uses: ottojo/uberblatt-action@v4

Learn more about this action in ottojo/uberblatt-action

Choose a version

Uberblatt

This action runs latexmk in every sub-directory of the repository. It also lists the generated PDF files in a index.html file and saves everything to the build directory.

This is intended to work with maxheld83/ghpages to use GitHub-Pages to download the PDFs.

Example

.github/workflows/main.yml

name: CI

on: 
  push:
    branches:
      - master

jobs:
  latex:
    runs-on: ubuntu-latest
    steps:
    - name: Set up Git repository
      uses: actions/checkout@v4
    - name: Compile and Deploy LaTeX to PDF
      uses: ottojo/uberblatt-action@v2
    - name: GitHub Pages Deploy
      uses: maxheld83/[email protected]
      env:
        BUILD_DIR: "build/"
        GH_PAT: ${{ secrets.GH_PAT }}