Skip to content

Commit

Permalink
init: Workflow to notify discord users of releases
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeW50 committed Aug 8, 2024
1 parent 22f9d63 commit 9826c1d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/discord_ping_on_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Workflow

on:
release:
types: [published]

jobs:
notify-discord:
runs-on: ubuntu-latest
steps:
- uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
username: ReVanced Extended
color: 0xff5252
nodetail: true
notimestamp: true
content: "<@&1271197877724643461>"
title: "Patches ${{ github.event.release.tag_name }} has been released!"
description: |
Read the changelog on the [releases page]( ${{github.event.repository.html_url }}/releases/tag/${{ github.event.release.tag_name }}).

0 comments on commit 9826c1d

Please sign in to comment.