Discbot/.drone.yml

22 lines
454 B
YAML
Raw Normal View History

2022-11-12 15:11:13 +01:00
pipeline:
deploy-production:
image: docker/compose
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- echo $DISCORD_BOT_TOKEN
- docker-compose -p discbot up -d --force-recreate --build
2022-11-12 15:21:20 +01:00
secrets:
- source: discord_api
target: DISCORD_BOT_TOKEN
2022-11-12 15:11:13 +01:00
when:
event: push
branch: [master]
2021-10-12 02:44:33 +02:00
2022-11-12 15:11:13 +01:00
test-pr:
image: docker/compose
commands:
- echo "1"
when:
event: push