Skip to content
Snippets Groups Projects
Commit 8152bf9d authored by nimrod's avatar nimrod
Browse files

More noticable output.

So I can see which host I'm deploying to right now.
parent c511fe91
No related branches found
No related tags found
No related merge requests found
Pipeline #1922 passed
......@@ -13,7 +13,7 @@ _check() {
_deploy() {
host="$1"
echo "Deploying to $host" >&2
printf '\n\e[1;94m=== %s ====\e[0m\n\n' "Deploying to $host" >&2
localsocket="$HOME/.ssh/docker_$host.sock"
forward "$host" "$localsocket:/var/run/docker.sock"
export DOCKER_HOST="unix://$localsocket"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment