readme.txt
deployWith this GitHub action you can easily deploy your WordPress plugin readme.txt
file in the WordPress plugin directory.
This GitHub action simplifies deploying 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:
username: pronamic
password: ${{ secrets.SVN_PASSWORD }}
slug: pronamic-pay-with-mollie-for-contact-form-7
SVN_USERNAME=test SVN_PASSWORD=test WP_SLUG=salesfeed php deploy.php