Skip to content

Commit

Permalink
Make path to theme dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Jan 23, 2024
1 parent 0a954be commit cb0e318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cb0e318

Please sign in to comment.