Add notify step to druid and wizard pipelines

This commit is contained in:
Joey Hafner 2024-02-15 01:42:13 -08:00
parent 31af431f8c
commit 6b4b226206
2 changed files with 20 additions and 1 deletions

View File

@ -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 }}'

View File

@ -44,3 +44,13 @@ jobs:
script: |
cd ~/homelab/wizard/config
/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 }}'