Skip to content

Commit

Permalink
Create deploy-to-wordpress-org.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Sep 5, 2024
1 parent 682640b commit 00e4b9f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy-to-wordpress-org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy to WordPress.org

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release to WordPress.org'
required: true
type: string

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: WordPress.org plugin directory
url: https://wordpress.org/plugins/salesfeed/

steps:
- name: Release
uses: pronamic/action-wordpress-plugin-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
svn-username: pronamic
svn-password: ${{ secrets.SVN_PASSWORD }}
tag: ${{ inputs.tag }}
wp-slug: salesfeed

0 comments on commit 00e4b9f

Please sign in to comment.