update drone ci
continuous-integration/drone/push Build is passing Details

pull/14/head
TheSt1tch 10 months ago
parent 0711a24883
commit 16d5b6f104

@ -23,10 +23,10 @@ steps:
- main
- name: build states
image: git.st1t.ru/thest1tch/mkdocs-material:v9.4.6
image: git.st1t.ru/thest1tch/mkdocs-material:latest
pull: if-not-exists
volumes:
- name: site
- name: site-st1tru
path: /site
commands:
- mkdocs build
@ -39,36 +39,6 @@ steps:
branch:
- states/*
- name: telgram_notify
image: appleboy/drone-telegram
when:
status:
#- success
- failure
settings:
# The secrets below can be entered from the Drone UI for this repo
token:
from_secret: telegram_token
to:
from_secret: telegram_chat_id
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}}
volumes:
- name: site
host:

Loading…
Cancel
Save