Skip to content

Commit

Permalink
Use a new trigger to run
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed May 30, 2024
1 parent 32b25ab commit 841c786
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/wordpress-org-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
# release:
# types: [edited]
push:
commit_message: 'Update wporg-related-version to '
commit_message: 'Update version-numbers to '
# branches:
# - main

Expand All @@ -23,7 +23,10 @@ jobs:
name: Deploy to WP.org
runs-on: ubuntu-latest
# if: github.event.release.edited == true && contains(github.event.head_commit.message, 'Update wporg-related-version to ')
if: contains(github.event.head_commit.message, 'Update wporg-related-version to ')
# if: contains(github.event.head_commit.message, 'Update wporg-related-version to ')
if: |
contains(github.event.head_commit.message, 'Update version-numbers to ') &&
contains(github.event.head_commit.modified, 'readme.md')
steps:

# - name: Checkout code
Expand Down

0 comments on commit 841c786

Please sign in to comment.