gglukmann / wp-trigger-github

WordPress save or update action triggers Github repository_dispatch action for triggering Github Actions workflow.
GNU General Public License v3.0
23 stars 12 forks source link

Triggered Many Times #6

Open Malikmal opened 3 years ago

Malikmal commented 3 years ago

Hello, this is a great plugin that I need now. But I found some issues that I don't like it

When I go to the page create a new post is triggered once When I save not publish triggered once again When I publish triggered 5 times When I edit a post and republish it triggered 3 times When I delete the post that not published triggered once When I delete the post that published triggered 5 times

How to make this triggered once just every I click publish or republish (edit) or delete published post?

gglukmann commented 3 years ago

Which version of WordPress are you on? Probably have to add some more check to plugin code.

Malikmal commented 3 years ago

I'm using WordPress v5.7. I also use wpgraphql & wpgatsby plugin. and i don't set the build webhook for wpgatsby plugin because doesn't support token header

gglukmann commented 2 years ago

Try the latest version (1.3.0)