Skip to content

Commit

Permalink
Dockerized PDF deployment in Github Actions
Browse files Browse the repository at this point in the history
Add a new Github Action to build and release the pdf file after every
push to master.  Using texlive/texlive docker image for reproducibility
and also forward compability with tools like make4ht for future builds.

Progress sysprog21#27 - Reproducible TeX build environment using Docker
  • Loading branch information
ekangmonyet committed Aug 1, 2021
1 parent 6026699 commit c224380
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/release_pdf_github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build-deploy-assets

on:
push:
branches: [ master ]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: texlive/texlive

steps:
- uses: actions/checkout@v2
- name: Build
run: make all
- name: Release
uses: softprops/action-gh-release@v1
with:
files: lkmpg.pdf
tag_name: "latest"
prerelease: true
2 changes: 1 addition & 1 deletion lkmpg.tex
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
\maketitle
\tableofcontents

\section{Introduction}
\section{Introductiona}
\label{sec:introduction}
The Linux Kernel Module Programming Guide is a free book; you may reproduce and/or modify it under the terms of the \href{https://opensource.org/licenses/OSL-3.0}{Open Software License}, version 3.0.

Expand Down

0 comments on commit c224380

Please sign in to comment.