mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Cleanup discord release message (#2532)
This commit is contained in:
parent
0f4cb9c429
commit
94f9bc74f0
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 New Issue
Block a user