Init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-10-12 02:44:33 +02:00
commit 264cc17904
7 changed files with 245 additions and 0 deletions

24
.drone.yml Normal file
View File

@@ -0,0 +1,24 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: deploy
image: docker/compose
volumes:
- name: docksock
path: /var/run/docker.sock
commands:
- echo $DISCORD_BOT_TOKEN
- docker-compose -p discbot up -d --force-recreate --build
when:
branch: [master]
environment:
DISCORD_BOT_TOKEN:
from_secret: discord_api
volumes:
- name: docksock
host:
path: /var/run/docker.sock