File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 3737 - if : ${{ failure() }}
3838 name : Print logs
3939 run : |
40- docker compose logs
40+ FOLLOW_LOGS='' just logs
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ COMPOSE_FILE := "--file=docker-compose.yml" + (
66DC := " docker compose " + COMPOSE_FILE
77RUN := DC + " run --rm"
88RUN_WEB := RUN + " web"
9+ FOLLOW_LOGS := env (" FOLLOW_LOGS" , " -f" )
910set dotenv-load := false
1011# Force just to hand down positional arguments so quoted arguments with spaces are
1112# handled appropriately
@@ -42,7 +43,7 @@ down *args:
4243
4344# Attach logs to all (or the specified) services
4445logs * args :
45- {{ DC }} logs -f {{ args }}
46+ {{ DC }} logs {{ FOLLOW_LOGS }} {{ args }}
4647
4748# Pull all docker images
4849pull :
You can’t perform that action at this time.
0 commit comments