summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-07-15 19:49:38 -0400
committerJay V <[email protected]>2025-07-15 19:49:38 -0400
commit70c16c4c95e8d00503c48737fc7dab291db6dae2 (patch)
tree7be592f9c9530cb9c7c52c3f2f459b2e5a66f9b9 /.github
parentc1e1ef6eb5b503ec33fbddbcb0d602fca61dcf93 (diff)
downloadopencode-70c16c4c95e8d00503c48737fc7dab291db6dae2.tar.gz
opencode-70c16c4c95e8d00503c48737fc7dab291db6dae2.zip
docs: adding action to notify discord
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/notify-discord.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml
new file mode 100644
index 000000000..46e637521
--- /dev/null
+++ b/.github/workflows/notify-discord.yml
@@ -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 }}