1
0
Fork 0
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:
Fedor Katurov 2021-05-12 11:05:56 +07:00
parent db1b0af35a
commit dc42892444
2 changed files with 2 additions and 20 deletions

View file

@ -62,21 +62,3 @@ steps:
- cp -a $${ENV_PATH}/${DRONE_BRANCH}/. $${BUILD_PATH}/${DRONE_BRANCH} - 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 build
- DRONE_BRANCH=${DRONE_BRANCH} docker-compose -f ./docker/docker-compose.yml up -d - 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 }}
```

View file

@ -1,7 +1,7 @@
version: '3.4' version: '3.4'
services: services:
db: db:
container_name: bot-db-${DRONE_BRANCH} container_name: bot-${DRONE_BRANCH}__db
image: postgres:11-alpine image: postgres:11-alpine
environment: environment:
POSTGRES_USER: user POSTGRES_USER: user
@ -11,7 +11,7 @@ services:
- bot-db:/var/lib/postgresql/data - bot-db:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
app: app:
container_name: bot-app-${DRONE_BRANCH} container_name: bot-${DRONE_BRANCH}
restart: always restart: always
environment: environment:
PORT: 80 PORT: 80