Added Discord notification
All checks were successful
Docker Build / Build Docker image (push) Successful in 10m2s
All checks were successful
Docker Build / Build Docker image (push) Successful in 10m2s
This commit is contained in:
@ -42,3 +42,27 @@ jobs:
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||
--push \
|
||||
.
|
||||
|
||||
- name: Test Success
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
if: success()
|
||||
with:
|
||||
severity: info
|
||||
details: Freebox-telegraf Docker image build sucessfull !
|
||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
- name: Test Failure
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
if: failure()
|
||||
with:
|
||||
severity: error
|
||||
details: Freebox-telegraf Docker image build failed !
|
||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
- name: Test Cancelled
|
||||
uses: rjstone/discord-webhook-notify@v1
|
||||
if: cancelled()
|
||||
with:
|
||||
severity: warn
|
||||
details: Freebox-telegraf Docker image build cancelled !
|
||||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
|
Reference in New Issue
Block a user