Automation Settings
The Automation Settings allow publications to be automatically triggered based on an event or a schedule.
Note: This functionality is part of Staatic Premium Edition and requires an active subscription.
Publish on Event
Automatically schedule a publication when a post is saved
Enabling this setting schedules a publication when a public post is published or updated, including scheduled posts that move from future to publish. Revisions, autosaves, and post types that are not public site content are ignored.
Post-save automation uses Publish Changes for the live site. If there is no active publication to compare against, or if there are no tracked changes since the active publication, Staatic falls back to a full publication.
Automatically schedule a publication when a post is deleted
Enabling this setting schedules a full publication when a published post is deleted or unpublished. Staatic tracks other change events internally, but this automation setting only starts publications for post changes.
Publish on Schedule
Automatically schedule a publication
Enabling this setting schedules a full publication based on the chosen schedule, whether content has changed or not. The available intervals come from WordPress schedules and include Never.
Note: this setting requires WP-Cron to be functioning correctly. For more information see our WP-Cron setup tutorial
When the schedule is saved, Staatic removes any existing staatic_publish cron event and schedules a new one. Scheduled and event-triggered publications are asynchronous; if a publication is already in progress, Staatic does not start a second one.