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 secrets: - source: discord_api target: DISCORD_BOT_TOKEN when: event: push branch: [master] test-pr: image: docker/compose commands: - echo "1" when: event: push