This adjusts the deploy workflow to only run when a change is detected
in the www org (where a pull mirror currently resides).
This is done by checking the repository owner (www) instead of the more
specific repository check (www/rdm.sfb1451.de) which could also be used;
see: https://forgejo.org/docs/latest/user/actions/#contexts-reference-guide
Suggested-by: Michael Hanke <m.hanke@fz-juelich.de>
The action should deploy the website from our forgejo instance.
This is based on:
https://hub.psychoinformatics.de/www/www.abcd-j.de/src/branch/published/.forgejo/workflows/deploy.yml
Notable changes:
- we use the `trunk` branch as the "official" one
- we do not get file content because the sfb docs are (currently)
git-only (no annex or datalad)
- the folder into which the built website is copied is changed