From cb0e318eeab8562086ec4a1e3b94e935b072dac6 Mon Sep 17 00:00:00 2001 From: Rasso Hilber Date: Tue, 23 Jan 2024 13:53:49 +0100 Subject: [PATCH] Make path to theme dynamic --- lib/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.sh b/lib/functions.sh index 346832f..1d7b6d0 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -64,7 +64,7 @@ function checkProductionBranch() { [[ $REMOTE_ENV != "production" ]] && return # Get the branch from the theme - cd "$LOCAL_WEB_ROOT/content/themes/$WP_THEME" + cd "$LOCAL_WEB_ROOT/$WP_CONTENT_DIR/themes/$WP_THEME" BRANCH=$(git branch --show) cd $LOCAL_WEB_ROOT