mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-04-17 03:39:58 +02:00
chore: add discord notification to cleanup.
This commit is contained in:
parent
c3a1963b9c
commit
9c8b32cd22
10
.github/workflows/cleanup.yml
vendored
10
.github/workflows/cleanup.yml
vendored
@ -26,3 +26,13 @@ jobs:
|
||||
skip-tags: latest
|
||||
image-names: ${{ env.IMAGE_NAME }}
|
||||
token: ${{ secrets.GHCR_TOKEN }}
|
||||
|
||||
- name: Send notification to Discord.
|
||||
uses: sarisia/actions-status-discord@v1.12.0
|
||||
if: always()
|
||||
with:
|
||||
title: ${{ env.IMAGE_NAME }}
|
||||
description: |
|
||||
succeded cleanup : ${{ steps.cleanup-images.outputs.deleted }}
|
||||
failed cleanup : ${{ steps.cleanup-images.outputs.failed }}
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user