-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# ServerChan Actions (Server酱) | ||
|
||
ServerChan Actions(Server酱) 微信消息通知插件 | ||
|
||
## 简介 | ||
|
||
基于 [ServerChan(Server酱)](http://sc.ftqq.com/3.version) 封装的微信消息通知插件 | ||
|
||
## 栗子 | ||
|
||
明文 key 配置, 适用于私有仓库 | ||
|
||
```yaml | ||
--- | ||
name: serverchan-action | ||
|
||
on: [push] | ||
|
||
jobs: | ||
serverchan: | ||
name: Server chan | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Sending message | ||
uses: yakumioto/serverchan-action@v1 | ||
with: | ||
key: {SCKEY} | ||
text: {消息标题} | ||
desp: {消息内容 支持MarkDown} | ||
``` | ||
密文 key 配置, 适用于公共仓库. | ||
```yaml | ||
--- | ||
name: serverchan-action | ||
|
||
on: [push] | ||
|
||
jobs: | ||
serverchan: | ||
name: Server chan | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Sending message | ||
uses: yakumioto/serverchan-action@v1 | ||
with: | ||
key: ${{ secrets.sckey }} | ||
text: {消息标题} | ||
desp: {消息内容 支持MarkDown} | ||
``` |