Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/deploy-wordpress.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy to WordPress.org

on:
pull_request:
workflow_dispatch:
push:
tags:
- "*"
Expand All @@ -10,14 +12,17 @@ permissions:

jobs:
deploy:
name: Deploy tagged release
name: Validate or deploy plugin
runs-on: ubuntu-latest
steps:
- name: Check out plugin
uses: actions/checkout@v4

- name: Deploy to WordPress.org
- name: Validate or deploy to WordPress.org
uses: 10up/action-wordpress-plugin-deploy@stable
with:
dry-run: ${{ github.event_name != 'push' }}
env:
VERSION: ${{ github.event_name == 'push' && github.ref_name || '3.0.9-test' }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
Loading