diff --git a/.gitea/workflows/deploy-to-druid.yml b/.gitea/workflows/deploy-to-druid.yml index db5a33c..d8cdcd5 100644 --- a/.gitea/workflows/deploy-to-druid.yml +++ b/.gitea/workflows/deploy-to-druid.yml @@ -31,3 +31,12 @@ jobs: docker compose config > /dev/null done + Notify: + runs-on: druid + steps: + - name: Discord notification + uses: appleboy/discord-action@master + with: + webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + args: '<@${{ secrets.DISCORD_ID_JAFNER }}> ${{ github.repository }} deploy to druid: ${{ job.status }}' diff --git a/.gitea/workflows/deploy-to-wizard.yml b/.gitea/workflows/deploy-to-wizard.yml index 3639053..88ffe80 100644 --- a/.gitea/workflows/deploy-to-wizard.yml +++ b/.gitea/workflows/deploy-to-wizard.yml @@ -43,4 +43,14 @@ jobs: key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }} script: | cd ~/homelab/wizard/config - /bin/vbash show-config.sh \ No newline at end of file + /bin/vbash show-config.sh + + Notify: + runs-on: fighter + steps: + - name: Discord notification + uses: appleboy/discord-action@master + with: + webhook_id: ${{ secrets.DISCORD_WEBHOOK_ID }} + webhook_token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }} + args: '<@${{ secrets.DISCORD_ID_JAFNER }}> ${{ github.repository }} deploy to wizard: ${{ job.status }}'