Setup action to auto-deploy #17

Open
opened 2025-09-09 08:39:36 +00:00 by adina · 2 comments
Owner

Presently, updates to this repo are pulled onto slides.edu.datalad.org by hand. It would be desirable to have a runner take care of this step.
Recording the messages from a matrix thread on this:

@mih: [...] this is what it would take to implement auto-deployment of the slides:

Presently, updates to this repo are pulled onto slides.edu.datalad.org by hand. It would be desirable to have a runner take care of this step. Recording the messages from a [matrix thread](https://matrix.to/#/!BJOyAtxkUEhadHcrWE:matrix.org/$1757282483145EvNXP:inm7.de?via=matrix.waite.eu&via=matrix.org&via=inm7.de) on this: @mih: [...] this is what it would take to implement auto-deployment of the slides: - https://hub.datalad.org/edu/slides is a single git-annex repo - it has all the sources - there is no build step, a deployment is a clone and a git annex get (recursive) - there is no www runner connected to hub.datalad.org yet - but https://hub.psychoinformatics.de/www exists and has a runner - https://hub.psychoinformatics.de/www/www.abcd-j.de/src/branch/main/.forgejo/workflows/deploy.yml is a deployment workflows that utilizes that runner under this org - For the slides, the workflow could clone on demand, and fetch otherwise. It would perform a reset of the deployed branch to the state given by forgejo, and then annex-get all missing pieces - https://hub.datalad.org/forgejo/datalad-clone-action could be improved to be able to do that - [ ] TODO: establish mirror
Author
Owner

In order to achieve this, can we establish a mirror on hub.psychoinformatics.de/www? (I don't have permission to create new repos or mirrors there)? So that we can update here and deploy from there

In order to achieve this, can we establish a mirror on hub.psychoinformatics.de/www? (I don't have permission to create new repos or mirrors there)? So that we can update here and deploy from there
Author
Owner

@mih has confirmed in the chat that this is possible.

@mih has confirmed in the chat that this is possible.
adina added reference action 2025-09-22 12:56:53 +00:00
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
edu/slides#17
No description provided.