Skip to content

Add automatic WordPress.org plugin repository deployment - #4

Draft
kuuak with Copilot wants to merge 2 commits into
mainfrom
copilot/add-automatic-publish-workflow
Draft

Add automatic WordPress.org plugin repository deployment#4
kuuak with Copilot wants to merge 2 commits into
mainfrom
copilot/add-automatic-publish-workflow

Conversation

Copilot AI commented Apr 14, 2026

Copy link
Copy Markdown

On every versioned tag push, the plugin should be automatically published to the WordPress.org plugin repository in addition to creating a GitHub release.

Changes

  • .distignore — new file consumed by the deploy action to exclude dev-only files from the SVN commit (.github, composer.json, composer.lock, .wp-env.json, etc.)
  • release-plugin.yml — adds a deploy job that runs after the existing release job, installs production Composer dependencies, then pushes to WordPress.org SVN via 10up/action-wordpress-plugin-deploy@2.3.0

Required setup

Two repository secrets must be configured before the workflow can publish:

Secret Value
WPORG_SVN_USERNAME WordPress.org committer username
WPORG_SVN_PASSWORD WordPress.org password / application password

The plugin must be submitted and approved at wordpress.org/plugins/developers/add/ before automated deploys will succeed.

Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add automatic publish workflow for nextjs-revalidate plugin Add automatic WordPress.org plugin repository deployment Apr 14, 2026
Copilot AI requested a review from kuuak April 14, 2026 09:49
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.

Automatic publish in wordpress plugins repo

2 participants