This has basically been solved in Codeberg/Documentation#27 (comment), but I'd like to create a git plugin git deploy-to-branch out of that information that could take a built public folder and deploy it to pages (like mkdocs build && git deploy-to-branch --from ./site --push origin/pages --force --rm -m "Update at $(date -Is)").
This is probably also relevant for Codeberg-CI/feedback#3 then.
This has basically been solved in https://codeberg.org/Codeberg/Documentation/issues/27#issuecomment-198386, but I'd like to create a git plugin `git deploy-to-branch` out of that information that could take a built public folder and deploy it to pages (like `mkdocs build && git deploy-to-branch --from ./site --push origin/pages --force --rm -m "Update at $(date -Is)"`).
This is probably also relevant for https://codeberg.org/Codeberg-CI/feedback/issues/3 then.