diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml new file mode 100644 index 00000000..355406dc --- /dev/null +++ b/.github/workflows/discord-release.yml @@ -0,0 +1,20 @@ +name: Post Release To Discord + +on: + release: + types: [published] + +jobs: + github-releases-to-discord: + runs-on: ubuntu-latest + steps: + - name: ⬇️ Checkout repo + uses: actions/checkout@v4 + + - name: 📧 Post to Discord + uses: SethCohen/github-releases-to-discord@v1.15.0 + with: + webhook_url: ${{ secrets.DISCORD_RELEASE_WEBHOOK_URL }} + color: '2105893' + username: 'GitHub' + avatar_url: 'https://libro.difizen.net/libro.svg'