You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recyclarr/.github/workflows/notify.yml

22 lines
520 B

name: Release Notification
on:
release:
types: [published]
jobs:
notify:
name: Discord Notification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- run: pip install discord-webhook
- run: |
python ci/notify/discord_notify.py \
'${{ github.event.release.tag_name }}' \
'${{ secrets.DISCORD_WEBHOOK }}' \
'${{ github.event.release.body }}'