Skip to content

Commit ce7c995

Browse files
Update release.yml
1 parent 06575d0 commit ce7c995

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +0,0 @@
1-
# Discord Webhook to publish releases
2-
3-
name: System Integration
4-
5-
on:
6-
release:
7-
types: [published]
8-
9-
jobs:
10-
notify:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Dispatch
14-
env:
15-
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
16-
RELEASE_NAME: ${{ github.event.release.name }}
17-
RELEASE_BODY: ${{ github.event.release.body }}
18-
RELEASE_URL: ${{ github.event.release.html_url }}
19-
REPO_NAME: ${{ github.repository }}
20-
run: echo "{\"embeds\":[{\"title\":\"${RELEASE_NAME}\",\"url\":\"${RELEASE_URL}\",\"description\":\"${RELEASE_BODY}\",\"color\":16711935,\"footer\":{\"text\":\"${REPO_NAME}\"}}]}" > payload.json && curl -X POST -H "Content-Type: application/json" -d @payload.json "$DISCORD_WEBHOOK"

0 commit comments

Comments
 (0)