mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
31 lines
687 B
YAML
31 lines
687 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 @{{ GITHUB_ACTOR }} just cooked:
|
|
|
|
:partying_face: [${{github.event.commits[0].message}}]({{ EVENT_PAYLOAD.compare }})
|
|
---
|
|
|