优化项目结构,优化构建脚本,优化README.MD
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
16
.drone.yml
16
.drone.yml
@ -7,12 +7,12 @@ kind: pipeline
|
||||
name: test
|
||||
|
||||
steps:
|
||||
- name: installgit p
|
||||
- name: test
|
||||
image: node:16
|
||||
commands:
|
||||
- yarn install
|
||||
- yarn test
|
||||
- name: telgram_notify
|
||||
- name: notify
|
||||
image: appleboy/drone-telegram
|
||||
when:
|
||||
status:
|
||||
@ -25,19 +25,19 @@ steps:
|
||||
format: markdown
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
✅ `{{repo.name}}` #{{build.number}} 号构建测试已通过 .
|
||||
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:
|
||||
✅ `{{repo.name}}` #{{build.number}} 号构建测试已通过\n
|
||||
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:\n
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 {{ build.link }}
|
||||
\n🌐 {{ build.link }}
|
||||
{{else}}
|
||||
❌ `{{repo.name}}` #{{build.number}} 号构建测试已失败 .
|
||||
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:
|
||||
❌ `{{repo.name}}` #{{build.number}} 号构建测试已失败\n
|
||||
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:\n
|
||||
```
|
||||
{{commit.message}}
|
||||
```
|
||||
🌐 {{ build.link }}
|
||||
\n🌐 {{ build.link }}
|
||||
{{/success}}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user