Add failure status to ci/cd
All checks were successful
Build and push / post-failure-to-discord (push) Has been skipped
Build and push / changes (push) Successful in 4s
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
Build and push / post-success-to-discord (push) Has been skipped
All checks were successful
Build and push / post-failure-to-discord (push) Has been skipped
Build and push / changes (push) Successful in 4s
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
Build and push / post-success-to-discord (push) Has been skipped
This commit is contained in:
parent
5469573bc5
commit
e2729c63f7
@ -68,7 +68,7 @@ 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-status-to-discord:
|
||||
post-success-to-discord:
|
||||
needs: [changes, Build-and-Push-Docker]
|
||||
if: ${{ needs.Build-and-Push-Docker.result == 'success' }}
|
||||
steps:
|
||||
@ -77,6 +77,7 @@ jobs:
|
||||
uses: sarisia/actions-status-discord@v1
|
||||
with:
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
post-failure-to-discord:
|
||||
if: ${{ needs.Build-and-Push-Docker.result == 'failure' }}
|
||||
steps:
|
||||
- name: Post status of failed run to discord
|
||||
|
Loading…
x
Reference in New Issue
Block a user