Skip to content

Commit

Permalink
ci: workflow to ping Discord users when rvx-builder is released (#145)
Browse files Browse the repository at this point in the history
* Create discord_ping_on_release.yml

* Change message contents

* Use single variable for release link
  • Loading branch information
KobeW50 authored Sep 10, 2024
1 parent 1de7af0 commit 0924b5a
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: Ping Discord on release

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: "<@&1271198236350087283>"
title: "RVX-Builder `${{ github.event.release.tag_name }}` has been released!"
description: |
Click [here](${{ github.event.release.html_url }}) to download it and read the changelog.

0 comments on commit 0924b5a

Please sign in to comment.