Clone to right place and use better variable name
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ca89a3a79e
commit
a194c39704
|
@ -29,9 +29,10 @@ run_abra_cmd() {
|
|||
|
||||
if [[ $PLUGIN_COMMAND == *"release"* ]]; then
|
||||
echo "Detected release command, attempting to detect recipe now..."
|
||||
repo=$(echo "$PLUGIN_COMMAND" | cut -d' ' -f2)
|
||||
echo "Automagically detected $repo as desired recipe repository, cloning now..."
|
||||
git clone "https://git.autonomic.zone/coop-cloud/$repo.git"
|
||||
recipe=$(echo "$PLUGIN_COMMAND" | cut -d' ' -f2)
|
||||
echo "Automagically detected $recipe as desired recipe repository, cloning now..."
|
||||
mkdir -p /root/.abra/apps
|
||||
git clone "https://git.autonomic.zone/coop-cloud/$recipe.git" "/root/.abra/apps/$recipe"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
|
|
Loading…
Reference in New Issue