Add a workflow for generating contributor pages #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "msz/www.trr379.de:contributor-pages-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a draft of how a workflow for creating publication pages could look like. The key step is in "Process metadata".
I am not 100% sure whether everything is done 100% correctly (can I write intermediate files to
/tmp? can I install dtc and qrg separately?) but the best way of testing that I can see is in action 1.An outcome of running an analogous command locally (after deleting existing markdown pages) is in #17 - because that PR also contains some manual tweaks (moving portraits where pid / folder name changed), I suggest merging that preview PR first.
This statement should not, by any means, be taken as a refusal to do anything else. That this is the best way I can see does not mean that there is no better way, and I am happy to take suggestions ↩︎
@ -0,0 +69,4 @@- name: Commit and push updatesid: commitrun: |git add content/publicationsI have not run the code in this action, but I noticed when skimming though that the "process metadata" step uses
person.pyto create contents in{...}/contents/contributors, but thisgit addstagescontent/publications, and the commit message is on updating publication. Am I missing something, or is this a copy-paste error from a different action?Copy-paste error. I knew it wouldn't work on the first try - thank you for spotting that!
7cdcc1d49dto22de46eedcWIP: Add a workflow for generating contributor pagesto Add a workflow for generating contributor pages