Skip to content

Deploy your WordPress plugin readme.txt file in the WordPress.org plugin directory with this GitHub action.

License

Notifications You must be signed in to change notification settings

pronamic/action-wordpress-org-plugin-readme-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github action WordPress.org readme.txt deploy

With this GitHub action you can easily deploy your WordPress plugin readme.txt file in the WordPress plugin directory.

Introduction

Streamline your WordPress plugin deployment

This GitHub action simplifies deploying your WordPress plugin's readme.txt file directly in the WordPress plugin directory.

Built for WordPress developers

Leveraging PHP instead of bash scripting, this action caters to the preferences of many WordPress developers, offering a familiar and potentially more convenient workflow.

Example

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

Inspiration

Development

SVN_USERNAME=test SVN_PASSWORD=test WP_SLUG=salesfeed php deploy.php

Links

Pronamic - Work with us