Skip to content

Commit 7926f6e

Browse files
committed
chore: test
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent b9e6d03 commit 7926f6e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yml

+14
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,20 @@ jobs:
2828
args: release --clean --config .goreleaser.4.yml
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
- name: Notify success
32+
uses: rjstone/discord-webhook-notify@v1
33+
if: success()
34+
with:
35+
severity: info
36+
details: New nightly build available!
37+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
38+
- name: Notify failure
39+
uses: rjstone/discord-webhook-notify@v1
40+
if: failure()
41+
with:
42+
severity: error
43+
details: Nightly failed
44+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
3145
# parse artifacts to the format required for image attestation
3246
# - run: |
3347
# echo "digest=$(echo "$ARTIFACTS" | jq -r '.[]|select(.type=="Docker Manifest")|select(.name|test(":v"))|.extra.Digest')" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)