Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 399 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 399 Bytes

mercurial-discord

Mercurial hook that posts to Discord

Copy it to the .hg directory of your repository on the server, change its hgrc like this:

[hooks]
incoming = python:.hg/hooks.py:incoming

and put a secrets.txt file right next to it:

{
    "hgwebUrl": "https://project.local/hg/reponame/",
    "webhookUrl": "https://discord.com/api/webhooks/gibberish123456789oijhzgtfrdsa"
}