Add a forgejo deploy action #7

Merged
msz merged 2 commits from forgejodeploy into trunk 2025-05-05 14:54:32 +00:00

2 commits

Author SHA1 Message Date
1063bd4e37 Run forgejo deploy workflow only under the www org
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>
2025-05-05 16:52:33 +02:00
76495ac1db Add a forgejo deploy action
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
2025-03-07 18:00:46 +01:00