The trigger does not work after publication. in preview it works fine.
Grzegorz,
Could you please confirm that publication of your project is working, no issues in publication log.
Also please check that other changes are applied during publication. It will help us quicker pinpoint the issue/reason.
It’s fine now, I don’t know what the problem was but the publications executed correctly. All other changes executed correctly and worked.