From 7affa009ca46551eaca7dd630a835244417a81ad Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 31 Oct 2023 15:35:13 +0100 Subject: [PATCH] Added command to execute in a specified path from the root of the git repo --- tool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool.sh b/tool.sh index 952402b..ce0d092 100644 --- a/tool.sh +++ b/tool.sh @@ -1,3 +1,3 @@ #!/bin/sh -/usr/local/bin/tfci --organization="$PLUGIN_CLOUD_ORGANIZATION" --token="$PLUGIN_API_TOKEN" $PLUGIN_ARGS +cd "$PLUGIN_PATH" && /usr/local/bin/tfci --organization="$PLUGIN_CLOUD_ORGANIZATION" --token="$PLUGIN_API_TOKEN" $PLUGIN_ARGS