Настроил Drone CI/CD #1
10
.drone.yml
10
.drone.yml
@ -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
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
version: '3'
|
||||
services:
|
||||
crispbot:
|
||||
bot:
|
||||
build: .
|
||||
volumes:
|
||||
- /root/config.yml:/app/config.yml
|
||||
|
Loading…
Reference in New Issue
Block a user