You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
SKB-online-sites/.drone.yml

40 lines
783 B

kind: pipeline
name: default
steps:
- name: test_node123
image: node
commands:
- npm install
- npm run build
pipeline:
telegram-notification:
image: appleboy/drone-telegram
secrets: [telegram_token, telegram_to]
when:
status: [success, failure]
format: markdown
message: >
{{#success build.status}}
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
🌐 {{ build.link }}
{{else}}
❌ Build #{{build.number}} of `{{repo.name}}` failed.
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
🌐 {{ build.link }}
{{/success}}