Skip to content

Commit

Permalink
Create discord.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewR3K authored Jan 26, 2025
1 parent 769f92e commit 2b1f518
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/discord.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Release Notification"

on:
release:
types: [published]

jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Github Releases To Discord
uses: SethCohen/github-releases-to-discord@v1.16.2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
color: "15844367"
username: "BCC Changelog"
avatar_url: "https://bcc-scripts.com/logo.png"
content: "# BCC-Stables ${{ env.RELEASE_VERSION }} \n\n https://github.com/BryceCanyonCounty/bcc-stables"
footer_timestamp: false
max_description: "4096"
reduce_headings: true

0 comments on commit 2b1f518

Please sign in to comment.