sora
d2ecee1b58
Some checks reported errors
continuous-integration/drone/push Build encountered an error
22 lines
454 B
YAML
22 lines
454 B
YAML
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
|
|
environment:
|
|
DISCORD_BOT_TOKEN:
|
|
from_secret: discord_api
|
|
when:
|
|
event: push
|
|
branch: [master]
|
|
|
|
test-pr:
|
|
image: docker/compose
|
|
commands:
|
|
- echo "1"
|
|
when:
|
|
event: push
|