mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Updating discord action (#478)
## Changes - Changed github action to allow for discord notification to use markdown styling ## Added - Added version to discord notification - Added ability to use PR body instead of commit body for discord notification description.
This commit is contained in:
parent
9f64037dc7
commit
68abfa974e
2
.github/workflows/nightly-docker.yml
vendored
2
.github/workflows/nightly-docker.yml
vendored
@ -91,4 +91,4 @@ jobs:
|
||||
with:
|
||||
webhook: ${{ secrets.DISCORD_DOCKER_UPDATE_URL }}
|
||||
message: "A new nightly build v${{steps.get-version.outputs.assembly-version}} has been released for docker.\nhttps://hub.docker.com/r/kizaing/kavita/tags?page=1&ordering=last_updated"
|
||||
embed: '{ "title": "{{ commit.title }}", "description": "{{ commit.description }}, "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://avatars.io/gravatar/{{ commit.author.email }}"} }'
|
||||
embed: '{ "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://avatars.io/gravatar/{{ commit.author.email }}"} }'
|
||||
|
Loading…
x
Reference in New Issue
Block a user