1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00
Files
geek-cookbook/.github/workflows/on-push-master-notify-discord.yml
David Young 54569b9181 Let's have a nicer announcement message (#93)
* Bump changelog
* Let's have a nicer announcement message
2020-05-25 17:12:45 +12:00

30 lines
653 B
YAML

name: Notify Discord to cookbook update
on:
push:
branches:
- master
paths:
- 'manuscript/*.md'
- 'manuscript/**/*.md'
jobs:
notify-discord:
runs-on: ubuntu-latest
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: |
Greetings, geeks! 🤓
The [Geek's Cookbook](https://geek-cookbook.funkypenguin.co.nz) has been updated!
Here's what's fresh:
-:white_check_mark: [${{github.event.commits[0].message}}]({{ EVENT_PAYLOAD.compare }})