# Push/Pull Actions

**URL:** <https://community.localwp.com/t/push-pull-actions/40169>\
**Category:** Feature requests\
**Tags:** add-on\
**Created:** [November 27, 2023, 9:40pm UTC](https://community.localwp.com/t/push-pull-actions/40169 "2023-11-27T21:40:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HH2](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@HH2](https://community.localwp.com/u/HH2)\
**Post date:** [November 27, 2023, 9:40pm UTC](https://community.localwp.com/t/push-pull-actions/40169/1 "2023-11-27T21:40:12Z")

</div>

I want to be able to perform an action when a user push/pulls a site.  
Not just when a site is created or deleted, but when a site is pushed up or pulled down.

I’ve looked through all the docs and I’m only seeing siteStatus as a param,

> **[Common Parameters](https://build.localwp.com/building/hooks/common-parameters#sitestatus)**

and not seeing any actions for when a site is pushed/pulled

> **[Actions](https://build.localwp.com/building/hooks/actions)**

I did see that the graphql has a siteStatus endpoint, but i’m unsure as to where the graphql endpoint is.

> **["local/graphql" | @getflywheel/local](https://getflywheel.github.io/local-addon-api/modules/_local_graphql_.html#sitestatus)**
>
> Documentation for @getflywheel/local

thank you

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [December 1, 2023, 7:23pm UTC](https://community.localwp.com/t/push-pull-actions/40169/2 "2023-12-01T19:23:56Z")

</div>

Hi @HH2

Can you give us some more details about what it is you’re trying to accomplish? What “action” are you wanting to add during the push/pull process?

---

<div class="post-metadata">

**Author:** ![HH2](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@HH2](https://community.localwp.com/u/HH2)\
**Post date:** [December 1, 2023, 7:41pm UTC](https://community.localwp.com/t/push-pull-actions/40169/3 "2023-12-01T19:41:56Z")

</div>

Building an internal app that tracks edits in wordpress and stores the data in supabase. Looking to hook into a push or pull to save a record in supabase when the last time a site was pushed from local. If the site has been pushed by a dev on the team, we want to store that and be able to compare those times to one another’s locals and to the various dev, stage, prod versions.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 5, 2024, 7:13pm UTC](https://community.localwp.com/t/push-pull-actions/40169/5 "2024-01-05T19:13:11Z")

</div>

Hi @HH2 - As mentioned in our other communication I’ve updated this into a feature request while our team looks into it further. Thank you!
