ci: automate WordPress.org deployment with GitHub Actions#867
Merged
ci: automate WordPress.org deployment with GitHub Actions#867
Conversation
Replace manual SVN deployment with an automated GitHub Actions workflow that triggers on GitHub Releases. The new workflow builds assets, deploys to WordPress.org SVN, and attaches a distribution zip to the release. Key changes: - Add deploy.yml workflow using 10up/action-wordpress-plugin-deploy - Security harden all workflows (SHA-pinned actions, minimal permissions) - Move screenshots and icon to .wordpress-org/ for 10up action compatibility - Expand .distignore to exclude all development files from distribution - Remove legacy deployment tooling (.svnignore, bin/prepare-svn-release.sh) - Remove orphaned build artifacts (dist/, modules/calendar/lib/dist/) - Update PUBLISHING.md to document the automated workflow The dist/ directories contained legacy build output from before the build was centralised to /build/ via wp-scripts. The PHP already loads from build/, so these files were unused. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
New deployment workflow
npm ci && npm run buildSecurity improvements
Cleanup
.wordpress-org/(required by 10up action).svnignoreandbin/prepare-svn-release.shdist/andmodules/calendar/lib/dist/directories (PHP loads frombuild/).distignorewith comprehensive exclusionsPUBLISHING.mdto document new automated workflowTest plan
🤖 Generated with Claude Code