Hook for server update.

alt=
DannyA
@dannya
10 years ago
584 posts
I want to use the server update in the acp, however, every time i do, i have to go into the server an push the code into my git repo. I'd like to be able to trigger a script to do this whenever the acp update completes.

Is there any way I can hook into the update function to run my own script after it completes?
updated by @dannya: 07/14/14 03:55:24AM
brian
@brian
10 years ago
10,148 posts
I had a bug fix in the Marketplace that needed to go out today, so I also added in 4 new event triggers:

installed_module
installed_skin
updated_module
updated_skin

You can key off of those events for your custom stuff you want to do.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags