Create release-notifier-moonlight.yml
This commit is contained in:
parent
7ad91e2dab
commit
4769a9348b
1 changed files with 22 additions and 0 deletions
22
.github/workflows/release-notifier-moonlight.yml
vendored
Normal file
22
.github/workflows/release-notifier-moonlight.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
name: Release Notifications (Moonlight)
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
discord:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: discord
|
||||||
|
uses: sarisia/actions-status-discord@v1 # https://github.com/sarisia/actions-status-discord
|
||||||
|
with:
|
||||||
|
webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK_MOONLIGHT }}
|
||||||
|
nodetail: true
|
||||||
|
nofail: false
|
||||||
|
username: ${{ secrets.DISCORD_USERNAME }}
|
||||||
|
avatar_url: ${{ secrets.ORG_LOGO_URL }}
|
||||||
|
title: ${{ github.event.repository.name }} ${{ github.ref_name }} Released
|
||||||
|
description: ${{ github.event.release.body }}
|
||||||
|
color: 0xFF4500
|
||||||
Loading…
Add table
Add a link
Reference in a new issue