From e2729c63f79edc456ec8eec73dd6dce2662fe819 Mon Sep 17 00:00:00 2001 From: Luke R Date: Mon, 21 Apr 2025 09:38:56 -0700 Subject: [PATCH] Add failure status to ci/cd --- .gitea/workflows/build-and-push.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index a9760920..b929e2a7 100755 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -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