Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When I deploy to Umbraco via Azure Pipeline, I am having to go in and still use the import button on the back office in order for the content to actually get committed (Using that term loosely) is by logging into the back office of Umbraco and clicking the import button. The content is being deployed via the Azure Repo from the pipeline but I am looking to automate or remove the process of going to Umbraco back office and click the import button. We have had a lot of issues doing so, so I am trying to find a formidable methodology that always me to by pass it. I am using the uSync piece from Umbraco Free but I want to avoid having to click the import button and pause my deployment to do so. If this can also be integrated into an Azure Pipeline via step or script that works too.
you have a couple of options that can make uSync automatically import any changes.
If you set "ImportAtStartup" to true in the uSync8.config file, then uSync will run an import as your umbraco site starts up, so after a deployment it will import any changes from disk.
you can use the uSync triggers package - to trigger an import via a web request. you could add a trigger command as part of any deployment scripts,
so for example once your site is running - you can trigger an import like so.
uSyncTrigger import https://mysite.azurewebsites.net/umbraco -u user -p password
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted