Skip to content

Commit

Permalink
hotfix release to discord
Browse files Browse the repository at this point in the history
  • Loading branch information
rootiest committed Jul 3, 2023
1 parent c8e4307 commit 6a76798
Showing 1 changed file with 19 additions and 23 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/release_discord.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
---
#################################
#################################
## Release to Discord ##
#################################
#################################

#################################
#################################
## Release to Discord ##
#################################
#################################
name: Release to Discord

on:
release:
types: [published]
release:
types: [published]
jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Github Releases To Discord
uses: LeGitHubDeTai/github-to-discord@main
env:
DISCORD_WEBHOOK: ${{ secrets.WEBHOOK_URL }}
MESSAGE_COLOR: 2105893
DISCORD_USERNAME: PrintCFG Release
DISCORD_AVATAR: https://raw.githubusercontent.com/rootiest/zippy_guides/main/resources/logo.png
MESSAGE_TITLE: New PrintCFG release!
MESSAGE_DESCRIPTION: "@PrintCFG Updates"
FOOTER_TEXT: PrintCFG Klipper Suite
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Github Releases To Discord
uses: sillyangel/releases-to-discord@v1
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "2105893"
username: "PrintCFG Release"
avatar_url: "https://raw.githubusercontent.com/rootiest/zippy_guides/main/resources/logo.png"

0 comments on commit 6a76798

Please sign in to comment.