Настроил Drone CI/CD #1

Merged
lulzette merged 6 commits from drone-test into master 2021-10-19 13:37:14 +03:00
2 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,6 @@
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
@ -10,8 +8,12 @@ platform:
steps:
- name: build
commands:
- docker build .
- docker-compose -p Crisp_Telegram_bot build
- name: run
commands:
- docker-compose up --build -d
- docker-compose -p Crisp_Telegram_bot up -d
when:
status:
- success

View File

@ -1,6 +1,6 @@
version: '3'
services:
crispbot:
bot:
build: .
volumes:
- /root/config.yml:/app/config.yml