wpdiscussionboard / wp-discussion-board

2 stars 1 forks source link

Create Github action to deploy to WordPress.org/plugins #36

Closed MattGeri closed 2 years ago

MattGeri commented 3 years ago

Using the template from 10up (https://github.com/10up/action-wordpress-plugin-deploy), tagged versions on Github should automatically deploy to the WordPress plugin repository.

Additionally, the following action should be setup to update the readme when required: https://github.com/10up/action-wordpress-plugin-asset-update

contactashish13 commented 3 years ago

@MattGeri for these you would need to define SVN_WPORG_PASSWORD and SVN_WPORG_USERNAME as secrets. Plus I've made the assets sync only when the commit message contains a string chore(assets) so that it doesn't happen all the time. There was no way of testing these but I followed the instructions so hopefully they should work :smile: