Skip to content

Commit 6a76798

Browse files
committed
hotfix release to discord
1 parent c8e4307 commit 6a76798

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed
Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
---
2-
#################################
3-
#################################
4-
## Release to Discord ##
5-
#################################
6-
#################################
7-
2+
#################################
3+
#################################
4+
## Release to Discord ##
5+
#################################
6+
#################################
87
name: Release to Discord
98

109
on:
11-
release:
12-
types: [published]
10+
release:
11+
types: [published]
1312
jobs:
14-
github-releases-to-discord:
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v3
19-
- name: Github Releases To Discord
20-
uses: LeGitHubDeTai/github-to-discord@main
21-
env:
22-
DISCORD_WEBHOOK: ${{ secrets.WEBHOOK_URL }}
23-
MESSAGE_COLOR: 2105893
24-
DISCORD_USERNAME: PrintCFG Release
25-
DISCORD_AVATAR: https://raw.githubusercontent.com/rootiest/zippy_guides/main/resources/logo.png
26-
MESSAGE_TITLE: New PrintCFG release!
27-
MESSAGE_DESCRIPTION: "@PrintCFG Updates"
28-
FOOTER_TEXT: PrintCFG Klipper Suite
13+
github-releases-to-discord:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v3
18+
- name: Github Releases To Discord
19+
uses: sillyangel/releases-to-discord@v1
20+
with:
21+
webhook_url: ${{ secrets.WEBHOOK_URL }}
22+
color: "2105893"
23+
username: "PrintCFG Release"
24+
avatar_url: "https://raw.githubusercontent.com/rootiest/zippy_guides/main/resources/logo.png"

0 commit comments

Comments
 (0)