Skip to content

Gitea

pebles requested to merge gitea into master

Adds gitea functionality. Any user can init a gitea repo with a webhook and a read-only key by simply providing a reponame. The repo is filled with a fresh hugo site with a theme activated. An http/s post is sent to a defined url to send the key pair.

To make things work, a webhook listener must catch that request and put the keys in right place.

After any push gitea launch the repo webhook, and the listener trigger another script to update the web (using the read-only key), being the push made from git or gitea web.

So another hook must be in charge of making the update there.

Functionality is diabled if any config field is empty.

Edited by pebles

Merge request reports