Closed Ngschumacher closed 6 years ago
Sync usually only runs on the CM, and the templates etc make it to CD via publishing. There's an auto publish task which is enabled by default that publishes synced items after a successful sync. You can disable or alter this if you wish.
On Tue, Dec 12, 2017, 4:31 AM Ngschumacher notifications@github.com wrote:
Hi, first of all, thank you for creating Unicorn. It has helped quite i bit in terms of updating templates etc when deploying. Thumbs up!
So at the moment i'm working on automating our deploymentprocess as much as possible, and i need to have the unicorn sync automated.
- I have succesfully used the powershell script to run on the CM server and its working great.
Here is my question: How do i manage, via configurations or something else to be able to run a sync towards my CD servers (one at the time, as a step of deployment towards these) from the CM server? I do not want to have unicorn or anything on my CD servers, i want to have the option of publishing from unicorn on the CM server towards to the CD servers.
I know this can be done if i do all at once, web,cd1 and cd2. But we do not want to sync templates towards a server which dosn't have the new code on it yet.
Can you give me some guidance on how to do this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamsar/Unicorn/issues/261, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGU_RswgBhM6BqwlbpMyCYhVTcg6Q_Pks5s_nIxgaJpZM4Q-5Uw .
@kamsar Yeah!
Any guidelines?
To run a publish separately you'd need to remotely invoke the publishing API, for example with Sitecore powershell extensions remoting. Unicorn publish is tied specifically to items synced so no sync no publish.
On Thu, Dec 14, 2017, 2:18 AM Ngschumacher notifications@github.com wrote:
@kamsar https://github.com/kamsar Yeah!
- How would i be able to run this auto publish seperatly without a sync. Because the sync has happended, i just need to wait to publish untill the right time. .
Any guidelines?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/kamsar/Unicorn/issues/261#issuecomment-351668552, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGU_brojZtXrdz6Lp_t_MN2bg6O0eZ8ks5tAPXfgaJpZM4Q-5Uw .
Hi, first of all, thank you for creating Unicorn. It has helped quite i bit in terms of updating templates etc when deploying. Thumbs up!
So at the moment i'm working on automating our deploymentprocess as much as possible, and i need to have the unicorn sync automated.
Here is my question: How do i manage, via configurations or something else to be able to run a sync towards my CD servers (one at the time, as a step of deployment towards these) from the CM server? I do not want to have unicorn or anything on my CD servers, i want to have the option of publishing from unicorn on the CM server towards to the CD servers.
I know this can be done if i do all at once, web,cd1 and cd2. But we do not want to sync templates towards a server which dosn't have the new code on it yet.
Can you give me some guidance on how to do this?