Skip to content

Commit 10ccee7

Browse files
committed
ci: add discord webhook
1 parent a7193ca commit 10ccee7

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

.github/workflows/push_discord.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: discord message
2+
on:
3+
release:
4+
types: [published]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Send Discord notification
14+
env:
15+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
16+
DISCORD_USERNAME: Github Actions
17+
DISCORD_AVATAR: https://cdn.discordapp.com/avatars/1460099944252702846/e57fd67dc7ca0cc840a0e87a82281bc5.webp?size=80
18+
uses: Ilshidur/action-discord@0.4.0
19+
with:
20+
args: |
21+
🚀 **New Release!** ${{ github.event.release.name }}
22+
23+
**Tag:** ${{ github.event.release.tag_name }}
24+
**Author:** ${{ github.event.release.author.login }}
25+
26+
**Release Notes:**
27+
${{ github.event.release.body }}

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ nav:
151151
- 模型列表: models.md
152152
- 安装及使用:
153153
- 安装: install_usage/installation.md
154-
- 使用方式: install_usage/usage.md
154+
- 使用: install_usage/usage.md
155155
- 使用其他推理引擎: install_usage/how_to_use_other_engine.md
156156
- 贡献指南: contributing.md
157157
- 博客:

0 commit comments

Comments
 (0)