1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

ci: notify nightly builds on discord

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2024-08-07 23:43:29 -03:00
parent ff2daa45d3
commit 3baffa7296
No known key found for this signature in database

View File

@ -60,3 +60,19 @@ jobs:
MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }}
MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }}
MACOS_NOTARY_KEY: ${{ secrets.MACOS_NOTARY_KEY }}
notify:
runs-on: ubuntu-latest
needs:
- goreleaser
if: ${{ always() }}
steps:
- name: Notify
uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
title: "nightly"
description: "build finished with status {{STATUS}}"
discord-webhook: ${{ secrets.NIGHTLY_DISCORD_WEBHOOK }}
username: GoReleaser
avatar-url: https://avatars.githubusercontent.com/u/24697112?v=4
include-details: false