mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-12 13:22:28 +00:00
Cleanup discord release message (#2532)
This commit is contained in:
parent
0f4cb9c429
commit
94f9bc74f0
1 changed files with 2 additions and 5 deletions
7
.github/workflows/discord.yml
vendored
7
.github/workflows/discord.yml
vendored
|
@ -19,12 +19,9 @@ jobs:
|
|||
steps:
|
||||
- name: on-publish
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
uses: Ilshidur/action-discord@master
|
||||
uses: SethCohen/github-releases-to-discord@v1.13.1
|
||||
with:
|
||||
args: |
|
||||
Github repo: [${{ github.repository }}](<${{ github.event.repository.html_url}}>)
|
||||
Release: [${{ github.event.release.name }}](<${{ github.event.release.html_url }}>)
|
||||
${{ github.event.release.body }}
|
||||
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
- name: on-success
|
||||
if: github.event.workflow_run.conclusion == 'success'
|
||||
uses: Ilshidur/action-discord@master
|
||||
|
|
Loading…
Reference in a new issue