How to Test a Blog Post for Update vs. Publish Status — Unique

You can make use of dynamic hook

do_action( "{$old_status}_to_{$new_status}", $post );

in wp_transition_post_status() to target exact combination. So in your case it would be something like draft_to_publish.

I am not sure why exactly your attempt is failing though, without thoroughly debugging it.

deneme bonusu veren sitelerbahis siteleripulibet girişdeneme bonusutürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişholiganbetholiganbet girişholiganbet güncel giriş