mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-31 19:27:15 +00:00
Cleanup discord release message (#2532)
This commit is contained in:
@@ -19,12 +19,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: on-publish
|
- name: on-publish
|
||||||
if: github.event_name == 'release' && github.event.action == 'published'
|
if: github.event_name == 'release' && github.event.action == 'published'
|
||||||
uses: Ilshidur/action-discord@master
|
uses: SethCohen/github-releases-to-discord@v1.13.1
|
||||||
with:
|
with:
|
||||||
args: |
|
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
Github repo: [${{ github.repository }}](<${{ github.event.repository.html_url}}>)
|
|
||||||
Release: [${{ github.event.release.name }}](<${{ github.event.release.html_url }}>)
|
|
||||||
${{ github.event.release.body }}
|
|
||||||
- name: on-success
|
- name: on-success
|
||||||
if: github.event.workflow_run.conclusion == 'success'
|
if: github.event.workflow_run.conclusion == 'success'
|
||||||
uses: Ilshidur/action-discord@master
|
uses: Ilshidur/action-discord@master
|
||||||
|
|||||||
Reference in New Issue
Block a user