Add Discord notification job
This commit is contained in:
parent
a3db31ff78
commit
4f64f0d19b
@ -42,4 +42,12 @@ jobs:
|
|||||||
echo "===== Deploying $(basename $PWD) =====" &&
|
echo "===== Deploying $(basename $PWD) =====" &&
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
done
|
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user