Remote publishing requires the Remote Publishing Plugin.
This workflow allows one-way synchronization of a remote confluence instance. Please visit the workflow's page for instructions on how to set up the private and remote instances.
Setting up the public instance
The remote API must be enabled in the public instance (go to Administration > General Configuration > Feature Settings to enable it). We need to set up a user, which would have access only to the PUBLIC
space.
To set up the remote instance credentials, you have to set the parameters in the source instance:
The name of the Remote Configuration must match that of the workflow. In this case make sure you name it remote
as this is the name used in the workflow. You can always change it and even have different configurations
Test the settings to make sure that the source instance can connect properly to the remote/public instance:
Publishing content
Content will now be published to the public instance when the page's reaches the Published state.
Publishing requires connection and transmitting data to the other instance, and this could take some time. Because we want to minimize any chance of error or session expiration we queue the request. A pending message is shown when the page is submitted for publishing:
If a published page is update, the state is changed to for renew and would have to be re-approved to get it republished.
Publishing all pages in the Space
If you want all the existing pages in the space to be published remotely, then you need to set the state of all pages to the Published state. you can do this through State initialization feature of ad hoc workflows:
Depending on the size of the space, publishing the entire space will take a few minutes.
Removing Content
To remove published content remotely, all you have to do is to change the state to Remove and the page will be removed in the remote instance.