mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
#5 removed telegram
This commit is contained in:
parent
db1b0af35a
commit
dc42892444
2 changed files with 2 additions and 20 deletions
18
.drone.yml
18
.drone.yml
|
@ -62,21 +62,3 @@ steps:
|
|||
- cp -a $${ENV_PATH}/${DRONE_BRANCH}/. $${BUILD_PATH}/${DRONE_BRANCH}
|
||||
- DRONE_BRANCH=${DRONE_BRANCH} docker-compose -f ./docker/docker-compose.yml build
|
||||
- DRONE_BRANCH=${DRONE_BRANCH} docker-compose -f ./docker/docker-compose.yml up -d
|
||||
- name: telegram_notify
|
||||
image: appleboy/drone-telegram
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
settings:
|
||||
token:
|
||||
from_secret: telegram_token
|
||||
to:
|
||||
from_secret: telegram_chat_id
|
||||
format: markdown
|
||||
message: >
|
||||
{{#success build.status}}🤓{{else}}😨{{/success}}
|
||||
[{{repo.name}} / {{commit.branch}}]({{ build.link }})
|
||||
```
|
||||
{{ commit.message }}
|
||||
```
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
version: '3.4'
|
||||
services:
|
||||
db:
|
||||
container_name: bot-db-${DRONE_BRANCH}
|
||||
container_name: bot-${DRONE_BRANCH}__db
|
||||
image: postgres:11-alpine
|
||||
environment:
|
||||
POSTGRES_USER: user
|
||||
|
@ -11,7 +11,7 @@ services:
|
|||
- bot-db:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
app:
|
||||
container_name: bot-app-${DRONE_BRANCH}
|
||||
container_name: bot-${DRONE_BRANCH}
|
||||
restart: always
|
||||
environment:
|
||||
PORT: 80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue