mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Small markdown polishes (#89)
* Small markdown polishes * Add webhook to notify discord of merges (not every _single_ activity)!
This commit is contained in:
31
.github/workflows/on-push-master-notify-discord.yml
vendored
Normal file
31
.github/workflows/on-push-master-notify-discord.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
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 changed:
|
||||
> ${{github.event.commits[].message}}
|
||||
|
||||
Get more details at:
|
||||
{{ EVENT_PAYLOAD.compare }}
|
||||
Reference in New Issue
Block a user