Skip to content

Fix WordPress.org deploy artifact#776

Merged
maxschmeling merged 1 commit into
trunkfrom
fix/deploy-release-artifact
Jun 30, 2026
Merged

Fix WordPress.org deploy artifact#776
maxschmeling merged 1 commit into
trunkfrom
fix/deploy-release-artifact

Conversation

@maxschmeling

Copy link
Copy Markdown
Contributor

Summary

  • build the WordPress.org deploy payload with npm run plugin-zip
  • extract the generated release zip and deploy only that packaged plugin directory via BUILD_DIR
  • add a 30 minute timeout so a bad deploy cannot sit in SVN publishing for hours

Why

The deploy workflow previously ran npm install && npm run build, then let 10up/action-wordpress-plugin-deploy rsync the whole CI workspace. Because .distignore did not exclude node_modules, SVN tried to publish the full dependency tree into trunk and the release tag.

Testing

  • npm run plugin-zip
  • unzip -Z1 remote-data-blocks.zip | rg '(^|/)node_modules/' || true
  • git diff --check
  • npx prettier --check .github/workflows/deploy.yml

@maxschmeling
maxschmeling merged commit 4b175a9 into trunk Jun 30, 2026
12 checks passed
@maxschmeling
maxschmeling deleted the fix/deploy-release-artifact branch June 30, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant