mirror of
https://github.com/sst/opencode.git
synced 2025-08-03 21:28:14 +00:00
docs: adding action to notify discord
This commit is contained in:
parent
c1e1ef6eb5
commit
70c16c4c95
1 changed files with 14 additions and 0 deletions
14
.github/workflows/notify-discord.yml
vendored
Normal file
14
.github/workflows/notify-discord.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Notify Discord on Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published] # fires only when a release is published
|
||||
|
||||
jobs:
|
||||
notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send nicely-formatted embed to Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1
|
||||
with:
|
||||
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}
|
Loading…
Add table
Add a link
Reference in a new issue