Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
yakumioto committed Jan 5, 2020
1 parent c78446e commit 077f3f5
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
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}
```

0 comments on commit 077f3f5

Please sign in to comment.