Skip to content

Commit

Permalink
WCM-3: add publish-epaper publish webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinnaj94 committed Sep 27, 2024
1 parent de1296d commit fbfa9b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/zeit/cms/checkout/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def notify_after_checkin(context, event):
@grok.subscribe(zeit.cms.interfaces.ICMSContent, zeit.cms.workflow.interfaces.IPublishedEvent)
def notify_after_publish(context, event):
create_webhook_job('publish', context, countdown=5)
create_webhook_job('publish-epaper', context, countdown=5)


@grok.subscribe(zope.lifecycleevent.IObjectAddedEvent)
Expand Down

0 comments on commit fbfa9b2

Please sign in to comment.