Add startup and completion messages
All checks were successful
Build and push / post-finish-message (push) Has been skipped
Build and push / post-startup-message (push) Successful in 4s
Build and push / detect-changed-files (push) Successful in 5s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped
All checks were successful
Build and push / post-finish-message (push) Has been skipped
Build and push / post-startup-message (push) Successful in 4s
Build and push / detect-changed-files (push) Successful in 5s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped
Adding discord webhooks to ci/cd
This commit is contained in:
parent
60cee3cbbd
commit
c38bb2d724
@ -3,6 +3,15 @@ run-name: ${{ gitea.actor }} Triggered a new run 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
post-startup-message:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: sarisia/actions-status-discord@v1
|
||||
if: always()
|
||||
with:
|
||||
title: "Pipeline is starting"
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
avatar_url: "https://git.luker.fr/assets/img/logo.svg"
|
||||
detect-changed-files:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
@ -76,3 +85,15 @@ jobs:
|
||||
version: 2.6.7
|
||||
command: app
|
||||
options: --insecure --server 192.168.1.205 --auth-token ${{ secrets.ARGOCD_TOKEN }} set dragon-bot --helm-set image.tag=${{ gitea.run_id }}
|
||||
|
||||
post-finish-message:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ (steps.Build-and-Push-Docker.outcome == 'success') }}
|
||||
steps:
|
||||
- uses: sarisia/actions-status-discord@v1
|
||||
if: always()
|
||||
with:
|
||||
title: "Pipeline has completed successfully"
|
||||
status:
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
avatar_url: "https://git.luker.fr/assets/img/logo.svg"
|
Loading…
x
Reference in New Issue
Block a user