With this GitHub action you can easily update your WordPress plugin readme.txt
file in the WordPress plugin directory.
This GitHub action simplifies updating your WordPress plugin's readme.txt
file directly in the WordPress plugin directory.
Leveraging PHP instead of bash scripting, this action caters to the preferences of many WordPress developers, offering a familiar and potentially more convenient workflow.
name: Deploy readme.txt to WordPress.org
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: WordPress.org plugin directory
url: https://wordpress.org/plugins/pronamic-pay-with-mollie-for-contact-form-7/
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
.wordpress-org
readme.txt
- name: Deploy
uses: pronamic/action-wordpress-plugin-readme-update@main
with:
svn-username: pronamic
svn-password: ${{ secrets.SVN_PASSWORD }}
wp-slug: pronamic-pay-with-mollie-for-contact-form-7
- https://github.com/marketplace/actions/wordpress-plugin-svn-deploy
- https://github.com/marketplace/actions/wordpress-plugin-readme-assets-update
- https://github.com/marketplace/actions/deploy-to-wordpress-org-svn-repository
SVN_USERNAME=test SVN_PASSWORD=test WP_SLUG=salesfeed php deploy.php