We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77248b7 commit 8e5c1b3Copy full SHA for 8e5c1b3
bin/deploy.sh
@@ -170,6 +170,8 @@ commit_and_push() {
170
171
build_zip() {
172
echo "==> Building plugin ZIP"
173
+ # Ensure dev dependencies (like wp-cli) exist before prebuild (makepot)
174
+ composer install --no-interaction >/dev/null 2>&1 || composer install --no-interaction
175
MU_CLIENT_ID="${MU_CLIENT_ID:-dummy}" MU_CLIENT_SECRET="${MU_CLIENT_SECRET:-dummy}" npm run build
176
if [[ ! -f "$ZIP_PATH" ]]; then
177
echo "Error: Build did not produce $ZIP_PATH"
0 commit comments