Setup action to auto-deploy #17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
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:
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
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
@mih has confirmed in the chat that this is possible.