-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
37 lines (36 loc) · 1.42 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
########################################
# #
# WEBSERVER #
# #
########################################
Webserver:
IP: 127.0.0.1
Port: 8080
########################################
# #
# COMMIT FORWARDING #
# #
########################################
CommitForwarding:
# The name of the GitHub Repository (Format: ThisLightMan/GitHub-Discord-Webhooks)
"Your-GitHub-Repository":
# Ensure that the secret is unique and keep it private
Secret: "UNIQUE-SECRET"
# The webhook URL from Discord
Webhook: "DISCORD-WEBHOOK-URL"
# The message that will get sent to Discord
Message:
# What each commit in {commits} will look like
Commits: "[``{commit-short-id}``]({commit-url}) **{commit-message}**"
Embed:
Color: "#157ae6"
Title: "[{repository-name}:{branch-name}] {commit-count} new {commit-plural}"
URL: "{compare-url}"
Author:
Name: "{author-name}"
URL: "{author-profile}"
Icon: "{author-avatar}"
Description: "{commits}"
OverflowEmbeds:
Color: "#157ae6"
Description: "{commits}"