Настроил 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 kind: pipeline
type: exec type: exec
name: default name: default
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
@ -10,8 +8,12 @@ platform:
steps: steps:
- name: build - name: build
commands: commands:
- docker build . - docker-compose -p Crisp_Telegram_bot build
- name: run - name: run
commands: 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' version: '3'
services: services:
crispbot: bot:
build: . build: .
volumes: volumes:
- /root/config.yml:/app/config.yml - /root/config.yml:/app/config.yml