diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 8a2b2f3b..112a5798 100755 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -72,3 +72,12 @@ 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: + needs: [changes, Build-and-Push-Docker] + if: ${{ needs.changes.outputs.python_files == 'true' }} + steps: + - name: Post status to discord + if: github.event_name != 'pull_request' + uses: sarisia/actions-status-discord@v1 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }}