Add a WP Hook that is run when the site is pushed to Flywheel

Would be handy if we can interface with WP to run a function when the site first gets pushed to Flywheel.

This would enable us to create automatic scripts when the site is in a different environment. Ideally via a WP Action Hook.

As an example having a hook like this would allow a DEV to make a script that automatically updates some options in the DB such as removing transients that are no longer valid in a new environment for example.

Something like add_action('flywheel_pushed', 'my_action_here');

This script would only run when the WP install is pushed from one environment (Local, Staging, Live).

Love to hear your thoughts on this.