Add notify step to druid and wizard pipelines
This commit is contained in:
parent
31af431f8c
commit
6b4b226206
@ -31,3 +31,12 @@ jobs:
|
|||||||
docker compose config > /dev/null
|
docker compose config > /dev/null
|
||||||
done
|
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 }}'
|
||||||
|
@ -43,4 +43,14 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
|
key: ${{ secrets.SSH_KEY_DEPLOY_TO_WIZARD }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/homelab/wizard/config
|
cd ~/homelab/wizard/config
|
||||||
/bin/vbash show-config.sh
|
/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 }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user