Add `exec` notes to log output
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2021-12-16 18:13:21 +02:00
parent 2e4ef5de33
commit ff6dbc62ed
1 changed files with 2 additions and 0 deletions

View File

@ -51,7 +51,9 @@ run_docker_cp() {
tar cf - $CD $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - $CONTAINER:$PLUGIN_DEST
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 deploy ---"