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 }}'