We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6a043b commit 9fa7aa7Copy full SHA for 9fa7aa7
deploy/docker-compose/customer1/pull-start.sh
@@ -148,12 +148,6 @@ fi
148
log "On branch before git pull:"
149
$git_branch_cmd
150
151
-log "Docker compose file: $docker_compose_full_file_path"
152
-log "docker ps before:"
153
-$docker_cmd ps
154
-
155
156
157
## Formulate Git and Docker commands
158
git_commands="\
159
$git_cmd reset --hard &&\
@@ -178,6 +172,11 @@ command="\
178
172
"
179
173
180
174
175
+log "Docker compose file: $docker_compose_full_file_path"
176
+log "docker ps before:"
177
+$docker_cmd ps
+
181
log "Running command in a sub shell:"
182
# awk command to print the command nicely with newlines
183
echo "$command" | awk 'BEGIN{FS="&&"; OFS="&& \n"} {$1=$1} 1'
0 commit comments