Skip to content

Create GitHub actions to generate PDFs of the slides - #57

Open
NMannall wants to merge 39 commits into
EPCCed:mainfrom
NMannall:51-generate-lecture-pdfs
Open

NMannall wants to merge 39 commits into
EPCCed:mainfrom
NMannall:51-generate-lecture-pdfs

Conversation

@NMannall

@NMannall NMannall commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Adds two GitHub workflows to generate a PDF containing the slides for each lecture.

build-all-lecture-pdfs is triggered manually and will generate and commit slides for all lectures to the main branch. (This workflow has not been explicitly tested, as it must be present on the main branch to trigger within GitHub.)

build-lecture-pdfs will trigger on every push to the main branch. It will generate slides for any new lectures created, or regenerate existing slides if the index.html or README.md file for a given lecture is changed. Note: This does mean it will not trigger if, for example, you just update an image for a lecture without changing README.md.

Because the action commits new files to the repository, it would be annoying for this to trigger on pull requests (it would require frequently pulling the new commits each time you add to an open PR). This way also triggers for any quick changes pushed directly to main.

Closes #51

@NMannall
NMannall requested a review from JPRichings October 7, 2026 15:48
@NMannall NMannall self-assigned this Oct 7, 2026
@NMannall NMannall added lecture content Improvements or additions to the lecture content enhancement New feature or request labels Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lecture content Improvements or additions to the lecture content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add PDFs of lecture slides to the repo

2 participants