GispoCoding / master-training-data

Repo for Gispo training materials.
1 stars 0 forks source link

REPO: Add a workflow for building and releasing PDFs of courses #71

Closed eemilhaa closed 1 week ago

eemilhaa commented 1 week ago

This adds a workflow that renders and releases PDFs for any course with changes. Fixes #69.

The workflow contains 2 jobs:

check-changes: A job to find out which courses have changed. This is near identical to the render-deploy.yaml workflow, the difference being that the output (changed courses) is provided as a matrix.

build-and-release-pdf: This job does what the name implies. As it uses the matrix strategy, it is executed in parallel for every changed course (i.e. we get a run for every changed course). In a bit more detail:

Note

So far I've developed this in a private test repo to not generate a large number of release notifications / email spam to everyone. While everything seems (to me) to be working, should we still test this somewhere else before merging here?

JuhoErvasti commented 1 week ago

Looks good to me and the test run worked as expected, I'm okay to merge. Nice work!