delthas / giteart

Automatic deployment to builds.sr.ht

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

giteart builds.sr.ht status

trigger sr.ht builds with Gitea webhooks

usage

giteart daemon

  • generate an sr.ht token
  • edit giteart.example.yml into giteart.yml
  • run giteart (java -jar giteart.jar or java -jar giteart.jar /path/to/giteart.yml, defaults to giteart.yml)
  • keep giteart running (you could typically use a systemd unit)

webhook

  • make sure your repository is public
  • go to your repository webhooks settings and add a new gitea webhook (page url is https://path/to/repository/settings/hooks/gitea/new)
    • target URL is http://your.server:port/hook, where port is your configuration port
    • secret is your configuration secret
    • leave other settings to their default values (POST with application/json, triggered on push events on branch filter *, active)

manifest

About

Automatic deployment to builds.sr.ht

License:MIT License


Languages

Language:Kotlin 95.5%Language:HTML 4.5%