Skip to content

Commit

Permalink
(CI) no TTY mode, when reading docker output (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored May 1, 2024
1 parent 73d0f3a commit 3c3cb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/pre_deploy.bash
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ do
done

# TODO(anyone): remove variable logic when tue-env is updated to new variable names
TUE_ENV_WS_DIR=$(docker exec -t tue-env bash -c 'source ~/.bashrc; [[ -v TUE_ENV_WS_DIR || ! -v TUE_WS_DIR ]] || TUE_ENV_WS_DIR=${TUE_WS_DIR}; echo "${TUE_ENV_WS_DIR}"' | tr -d '\r')
TUE_ENV_WS_DIR=$(docker exec tue-env bash -c 'source ~/.bashrc; [[ -v TUE_ENV_WS_DIR || ! -v TUE_WS_DIR ]] || TUE_ENV_WS_DIR=${TUE_WS_DIR}; echo "${TUE_ENV_WS_DIR}"' | tr -d '\r')

echo -e "\e[35m\e[1mdocker cp tue-env:${TUE_ENV_WS_DIR}/docs .\e[0m"
docker cp tue-env:"${TUE_ENV_WS_DIR}"/docs .

0 comments on commit 3c3cb1e

Please sign in to comment.