Skip to content

DanySK/compile-and-publish-all-latex

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Get your LaTeX files compiled and released on GitHub

FOSSA Status

This composite action should provide an all-in-one solution for having your LaTeX documents compiled and published on GitHub.

name: Build LaTeX and deploy on GitHub Releases
on:
  push:

jobs:
  Setup-Compile-Deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: DanySK/compile-and-publish-all-latex@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Maybe pick the latest version instead of master...

Note

LaTeX is compiled with DanySK/compile-latex-action, read its documentation to avoid pitfalls!

Generating diffs

This action supports the generation of differential documents by wrappin auto-latexdiff. Diffs can be enabled by setting diff-enable to true.

Available options

The following snippet launches the action with all parameters set to their default value.

name: Build LaTeX and deploy on GitHub Releases
on:
  push:

jobs:
  Setup-Compile-Deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: DanySK/compile-and-publish-all-latex@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          # All the following parameters are optional, and these are their default values
          diff-enable: false
          diff-files: |
            **/*.tex
          diff-lightweight-tags: false
          diff-tag-regex: |
            .*
          publish-enable: true

License

FOSSA Status

About

One composite action to get a LaTeX project deploy its pdfs automatically on GitHub

Resources

License

Stars

Watchers

Forks

Packages

No packages published