Add Discord notification job

This commit is contained in:
Joey Hafner 2024-02-15 01:20:38 -08:00
parent a3db31ff78
commit 4f64f0d19b

View File

@ -42,4 +42,12 @@ jobs:
echo "===== Deploying $(basename $PWD) =====" &&
docker compose up -d
done
Notify:
runs-on: fighter
steps:
- name: Discord notifications
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: '{{ EVENT_PAYLOAD.repository.full_name }} deployed to fighter'