From 36d5b61eb61a713fbf0ffd0a5de1a85df81adec6 Mon Sep 17 00:00:00 2001 From: Remco Tolsma Date: Thu, 21 Nov 2024 12:09:52 +0100 Subject: [PATCH] Create deploy-readme-to-wordpress-org.yml --- .../deploy-readme-to-wordpress-org.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/deploy-readme-to-wordpress-org.yml diff --git a/.github/workflows/deploy-readme-to-wordpress-org.yml b/.github/workflows/deploy-readme-to-wordpress-org.yml new file mode 100644 index 0000000..5bb2247 --- /dev/null +++ b/.github/workflows/deploy-readme-to-wordpress-org.yml @@ -0,0 +1,28 @@ +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-google-maps/ + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + sparse-checkout: | + .github + .wordpress-org + readme.txt + + - name: Deploy + uses: pronamic/action-wordpress-org-plugin-readme-deploy@main + with: + username: ${{ vars.WORDPRESS_ORG_PRONAMIC_USERNAME }} + password: ${{ secrets.WORDPRESS_ORG_PRONAMIC_PASSWORD }} + slug: pronamic-google-maps