www-from-model/.forgejo
Stephan Heunis 991f219bdc Add a workflow that registers depictions as portraits
The workflow does the following:
- Get all persons for which pages are generated (i.e. associated with the main project)
- Get all depictions of type 'Portrait'
- keep depictions that are 'about' any of the pids of the relevant persons
- keep depictions that have distributions
- keep distributions that have characterized_by with predicate==dcat:downloadUrl
- extract the url (i.e. object)
- register the file in the www-from-model dataset using git annex addurl

The depiction is added as 'portrait.<ext>' alongside the '_index.md' page of the
person page being generated. This is done so that 'qri render-record' and the
associated jinja template can take care, separately, of rendering a portrait
if a 'portrait.<ext>' image file is available.
2026-03-02 13:57:30 +01:00
..
actions rf: move common prep steps into a composite action 2026-02-23 10:54:47 +01:00
workflows Add a workflow that registers depictions as portraits 2026-03-02 13:57:30 +01:00