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