You'll probably do best using the Action Example in the Examples Project, http://drupal.org/project/examples.
I added a note to that page to mention that.
-Randy--On Thu, Sep 8, 2011 at 11:34 AM, Deva <devendra.in@gmail.com> wrote:
Hey,I came across a situation where i want to sync image/file assets from Staging to Production on publish of a node.I am using revision module & looking at triggers & actions.I did not find a documentation on how to create custom action in Drupal 7. Though it is available for Drupal 6 at http://drupal.org/node/172152--
:DJ
Randy Fay
Drupal Module and Site Development
randy@randyfay.com
+1 970.462.7450