Skip to content

Commit

Permalink
Create deploy-readme-to-wordpress-org.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Nov 21, 2024
1 parent 18a0146 commit 36d5b61
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-readme-to-wordpress-org.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 36d5b61

Please sign in to comment.