Skip to content

SoPra-Team-17/latex-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uberblatt

This action runs make in the repository. It saves build artifacts to the build directory. To know which files to deploy, the Makefile shall print ARTIFACTS: followed by a comma separated list of file names that should be deployed to stdout:

all: Pflichtenheft.pdf
	$(info ARTIFACTS:Pflichtenheft.pdf)
...

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: SoPra-Team-17/latex-action@master
    - name: GitHub Pages Deploy
      uses: maxheld83/[email protected]
      env:
        BUILD_DIR: "build/"
        GH_PAT: ${{ secrets.GH_PAT }}

Packages

No packages published

Languages

  • Shell 59.7%
  • Dockerfile 40.3%