This commit is contained in:
@@ -48,7 +48,5 @@ steps:
|
|||||||
|
|
||||||
- echo "--- Verifying bot status ---"
|
- echo "--- Verifying bot status ---"
|
||||||
# Get the container ID of the bot service to inspect its status and logs
|
# Get the container ID of the bot service to inspect its status and logs
|
||||||
- BOT_CONTAINER_ID=$(docker compose ps -q python-app)
|
|
||||||
- docker inspect --format='{{.State.Status}} (Exit Code: {{.State.ExitCode}})' "${BOT_CONTAINER_ID}"
|
|
||||||
- echo "--- Logs of Discord bot container (if it exited) ---"
|
- echo "--- Logs of Discord bot container (if it exited) ---"
|
||||||
- docker logs "${BOT_CONTAINER_ID}" # Fetch the logs of the bot container
|
- docker logs "${BOT_CONTAINER_ID}" # Fetch the logs of the bot container
|
||||||
|
|||||||
Reference in New Issue
Block a user