Move loggin
continuous-integration/drone/push Build was killed Details

This commit is contained in:
3wc 2021-12-16 18:18:30 +02:00
parent ff6dbc62ed
commit 9f99415297
1 changed files with 2 additions and 2 deletions

View File

@ -50,11 +50,11 @@ run_docker_cp() {
# shellcheck disable=SC2086
tar cf - $CD $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - $CONTAINER:$PLUGIN_DEST
echo "--- start exec ---"
if [ -n "$PLUGIN_EXEC" ]; then
echo "--- start exec ---"
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "$PLUGIN_EXEC"
echo "--- end exec ---"
fi
echo "--- end exec ---"
echo "--- end deploy ---"
}