Umbraco.Cloud.Issues icon indicating copy to clipboard operation
Umbraco.Cloud.Issues copied to clipboard

Azure CI/CD pipeline deploys code from before Umbraco cloud sync

Open eqtr-ab opened this issue 6 months ago • 2 comments

Issue description

To replicate:

  1. Set up dictionary item locally, then deploy to Umbraco cloud
  2. Update dictionary item value in Umbraco cloud site
  3. Carry out deployment using Azure CI/CD pipeline

Observe that after the deployment is complete, the dictionary item in Umbraco cloud has changed to the value from before the deployment, even though the Azure repo has been updated with the new value.

See diff content if any:

@@ -6,7 +6,7 @@
   "Translations": [
     {
       "Key": "764fb4c0-c861-49ba-9f40-cb713b7ae3a6",
-      "Value": "Submit self referral form",
+      "Value": "Submit referral ",
       "LanguageIsoCode": "en-GB"
     }
   ],

Apply git patch:

Checking patch src/VistaHealth/umbraco/Deploy/Revision/dictionary-item__764fb4c0c86149ba9f40cb713b7ae3a6.uda...
Applied patch src/VistaHealth/umbraco/Deploy/Revision/dictionary-item__764fb4c0c86149ba9f40cb713b7ae3a6.uda cleanly.
[master e938abad] Adding cloud changes since deployment c532cb80-0f25-49f9-be47-5fac30b2a381 [skip ci]

Dictionary item after deployment:

image

Note that it has been set to the previous value.

Dictionary item in repo:

image

Note that it contains the updated value brought down from Umbraco cloud.

eqtr-ab avatar Aug 12 '24 10:08 eqtr-ab