Skip to content

Compile LaTeX

Compile LaTeX #12

Workflow file for this run

name: Compile LaTeX
on:
workflow_run:
workflows: [ "Make Project" ]
types:
- completed
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ijapesigan/docs@sha256:2b20a375673004370e0f6d9c36a7923360f90b700bc6b2bf8f216a8a29f06bc8
# Only restrict concurrency for non-PR jobs
concurrency:
group: latex-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Make Project
run: make build
-
name: Make LaTeX
run: |
make bibrproject
make pdf
-
name: Push to the latex branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: latex
FOLDER: .setup/latex/pdf
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}